You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/01/21 14:45:40 UTC
[incubator-nuttx-apps] branch master updated: examples/posix_spawn:
update dependency to fix parallel build break (#26)
This is an automated email from the ASF dual-hosted git repository.
aguettouche 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 50a86f9 examples/posix_spawn: update dependency to fix parallel build break (#26)
50a86f9 is described below
commit 50a86f9bc761e4629126d032510574828d55eb5a
Author: liuguo09 <li...@xiaomi.com>
AuthorDate: Tue Jan 21 22:45:32 2020 +0800
examples/posix_spawn: update dependency to fix parallel build break (#26)
In stm32f4discovery:posix_spawn and lc823450-xgevk:posix_spawn parallel build,
it failed since apps/examples/posix_spawn/filesystem/romfs/hello is not available
which is needed by examples/posix_spawn/filesystem/symtab.c.
Change-Id: I588317396f8e3ca4d69d4ec8db8ccad219207048
Signed-off-by: liuhaitao <li...@xiaomi.com>
---
examples/posix_spawn/filesystem/Makefile | 2 +-
examples/posix_spawn/filesystem/hello/Makefile | 3 +--
examples/posix_spawn/filesystem/redirect/Makefile | 3 +--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/examples/posix_spawn/filesystem/Makefile b/examples/posix_spawn/filesystem/Makefile
index 2efc1fe..c9541ef 100644
--- a/examples/posix_spawn/filesystem/Makefile
+++ b/examples/posix_spawn/filesystem/Makefile
@@ -77,7 +77,7 @@ $(ROMFS_HDR) : $(ROMFS_IMG)
# Create the exported symbol table
-$(SYMTAB_SRC): $(ROMFS_DIR)/hello $(ROMFS_DIR)/redirect $(ROMFS_DIR)/testdata.txt
+$(SYMTAB_SRC): $(ROMFS_IMG)
$(Q) $(FILESYSTEM_DIR)$(DELIM)mksymtab.sh $(ROMFS_DIR) >$@
# Clean each subdirectory
diff --git a/examples/posix_spawn/filesystem/hello/Makefile b/examples/posix_spawn/filesystem/hello/Makefile
index 728f499..3c9d0fc 100644
--- a/examples/posix_spawn/filesystem/hello/Makefile
+++ b/examples/posix_spawn/filesystem/hello/Makefile
@@ -56,7 +56,6 @@ clean:
$(call DELFILE, *.dSYM)
$(call CLEAN)
-install:
-
+install: $(BIN)
$(Q) mkdir -p $(ROMFS_DIR)
$(Q) install $(BIN) $(ROMFS_DIR)/$(BIN)
diff --git a/examples/posix_spawn/filesystem/redirect/Makefile b/examples/posix_spawn/filesystem/redirect/Makefile
index fa1a9a8..9b30d4b 100644
--- a/examples/posix_spawn/filesystem/redirect/Makefile
+++ b/examples/posix_spawn/filesystem/redirect/Makefile
@@ -56,7 +56,6 @@ clean:
$(call DELFILE, *.dSYM)
$(call CLEAN)
-install:
-
+install: $(BIN)
$(Q) mkdir -p $(ROMFS_DIR)
$(Q) install -m 0755 $(BIN) $(ROMFS_DIR)/$(BIN)