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:
parent
52ad01f0bf
commit
4c4d8b1c1c
@ -57,6 +57,8 @@ else
|
|||||||
FSIMG_HDR = $(TESTS_DIR)/cromfs.h
|
FSIMG_HDR = $(TESTS_DIR)/cromfs.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
elf_main.c: tests/symtab.c
|
||||||
|
|
||||||
tests/symtab.c tests/dirlist.h $(FSIMG_HDR):
|
tests/symtab.c tests/dirlist.h $(FSIMG_HDR):
|
||||||
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
|
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user