examples/elf: Add a few make rules

To fix "don't know how to create tests/dirlist.h" make complaints.
This commit is contained in:
YAMAMOTO Takashi 2020-02-25 12:54:28 +09:00 committed by patacongo
parent 2f23d2a602
commit 45bcfa8b2e

View File

@ -51,7 +51,13 @@ ROOTDEPPATH := --dep-path tests
VPATH += :tests
tests/symtab.c:
ifeq ($(CONFIG_EXAMPLES_ELF_ROMFS),y)
FSIMG_HDR = $(TESTS_DIR)/romfs.h
else
FSIMG_HDR = $(TESTS_DIR)/cromfs.h
endif
tests/symtab.c tests/dirlist.h $(FSIMG_HDR):
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
clean::