You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/02/26 16:24:22 UTC

[incubator-nuttx-apps] branch master updated: examples/elf: update elf_main.c dependency to fix parallel build break

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c4d8b1  examples/elf: update elf_main.c dependency to fix parallel build break
4c4d8b1 is described below

commit 4c4d8b1c1caf02b4ad1fe8f79439c63b3758ee81
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Wed Feb 26 11:26:43 2020 +0800

    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 <li...@xiaomi.com>
---
 examples/elf/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/elf/Makefile b/examples/elf/Makefile
index 2094a3b..e8279cc 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)