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 <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-02-26 11:26:43 +08:00 committed by Xiang Xiao
parent 52ad01f0bf
commit 4c4d8b1c1c

View File

@ -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)