From 4c4d8b1c1caf02b4ad1fe8f79439c63b3758ee81 Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Wed, 26 Feb 2020 11:26:43 +0800 Subject: [PATCH] examples/elf: update elf_main.c dependency to fix parallel build break Update elf_main.c depends on tests/symtab.c to make sure romfs.h exist before compiling elf_main.c. Signed-off-by: liuhaitao --- examples/elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/elf/Makefile b/examples/elf/Makefile index 2094a3bca..e8279cc87 100644 --- a/examples/elf/Makefile +++ b/examples/elf/Makefile @@ -57,6 +57,8 @@ else FSIMG_HDR = $(TESTS_DIR)/cromfs.h endif +elf_main.c: tests/symtab.c + tests/symtab.c tests/dirlist.h $(FSIMG_HDR): @$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)