From 2f23d2a60284737c61539258f07964e2e77db0ef Mon Sep 17 00:00:00 2001 From: liuguo09 Date: Tue, 25 Feb 2020 20:26:51 +0800 Subject: [PATCH] examples/elf/tests: Correct symtab.c dependency to fix parallel build break Correct symtab dependency from build to populate instead, or tests subdirectory programs would be built twice which resulted in errors as below: arm-none-eabi-ld: hello++3.o: file not recognized: file truncated --- examples/elf/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/elf/tests/Makefile b/examples/elf/tests/Makefile index 8d870230a..ac4ba4a0c 100644 --- a/examples/elf/tests/Makefile +++ b/examples/elf/tests/Makefile @@ -140,7 +140,7 @@ $(DIRLIST_HDR) : populate # Create the exported symbol table -$(SYMTAB_SRC): build +$(SYMTAB_SRC): populate $(Q) $(TESTS_DIR)/mksymtab.sh $(FSIMG_DIR) >$@ # Clean each subdirectory