examples: elf: Fix parallel build errors
NOTE: Apply the same logic as in examples/posix_spawn/Makefile Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
0cb3712c19
commit
b1fd3ec8d8
@ -51,18 +51,11 @@ ROOTDEPPATH := --dep-path tests
|
||||
|
||||
VPATH += :tests
|
||||
|
||||
ifeq ($(CONFIG_EXAMPLES_ELF_ROMFS),y)
|
||||
FSIMG_HDR = $(TESTS_DIR)/romfs.h
|
||||
else
|
||||
FSIMG_HDR = $(TESTS_DIR)/cromfs.h
|
||||
endif
|
||||
|
||||
elf_main.c: tests/symtab.c
|
||||
|
||||
tests/symtab.c tests/dirlist.h $(FSIMG_HDR):
|
||||
context::
|
||||
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
|
||||
|
||||
clean::
|
||||
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV) clean
|
||||
$(call CLEAN)
|
||||
|
||||
include $(APPDIR)/Application.mk
|
||||
|
Loading…
Reference in New Issue
Block a user