diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 08:00:47 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 08:00:47 -0600 |
commit | 5a79aa40e5a82a8358df0ab581f436df1e204134 (patch) | |
tree | 4d168ff54ec4177c03d24c074a82f5734da2b3a5 /apps/examples/elf/tests | |
parent | 0c6521fb7bcde9542ccb41d84aaf075f9871e8df (diff) | |
download | nuttx-5a79aa40e5a82a8358df0ab581f436df1e204134.tar.gz nuttx-5a79aa40e5a82a8358df0ab581f436df1e204134.tar.bz2 nuttx-5a79aa40e5a82a8358df0ab581f436df1e204134.zip |
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
Diffstat (limited to 'apps/examples/elf/tests')
-rw-r--r-- | apps/examples/elf/tests/Makefile | 3 | ||||
-rw-r--r-- | apps/examples/elf/tests/errno/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/hello/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/helloxx/Makefile | 3 | ||||
-rw-r--r-- | apps/examples/elf/tests/longjmp/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/mutex/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/pthread/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/signal/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/struct/Makefile | 1 | ||||
-rw-r--r-- | apps/examples/elf/tests/task/Makefile | 1 |
10 files changed, 12 insertions, 2 deletions
diff --git a/apps/examples/elf/tests/Makefile b/apps/examples/elf/tests/Makefile index 17732c775..480a898b9 100644 --- a/apps/examples/elf/tests/Makefile +++ b/apps/examples/elf/tests/Makefile @@ -82,7 +82,8 @@ build: $(foreach DIR, $(BUILD_SUBDIRS), $(DIR)_build) # Install each program in the romfs directory -install: $(foreach DIR, $(BUILD_SUBDIRS), $(DIR)_install) +install: + $(foreach DIR, $(BUILD_SUBDIRS), $(DIR)_install) # Create the romfs directory diff --git a/apps/examples/elf/tests/errno/Makefile b/apps/examples/elf/tests/errno/Makefile index 89e3f2bfd..719468cd1 100644 --- a/apps/examples/elf/tests/errno/Makefile +++ b/apps/examples/elf/tests/errno/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/hello/Makefile b/apps/examples/elf/tests/hello/Makefile index f89759a66..32206be58 100644 --- a/apps/examples/elf/tests/hello/Makefile +++ b/apps/examples/elf/tests/hello/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/helloxx/Makefile b/apps/examples/elf/tests/helloxx/Makefile index cd153bd52..a85485b40 100644 --- a/apps/examples/elf/tests/helloxx/Makefile +++ b/apps/examples/elf/tests/helloxx/Makefile @@ -139,7 +139,8 @@ clean: $(call DELFILE, $(BIN4)) $(call CLEAN) -install: $(ALL_BIN) +install: + $(ALL_BIN) $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN1) $(ROMFS_DIR)/$(BIN1) $(Q) install $(BIN2) $(ROMFS_DIR)/$(BIN2) diff --git a/apps/examples/elf/tests/longjmp/Makefile b/apps/examples/elf/tests/longjmp/Makefile index 26fa393bd..4c9f89aad 100644 --- a/apps/examples/elf/tests/longjmp/Makefile +++ b/apps/examples/elf/tests/longjmp/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/mutex/Makefile b/apps/examples/elf/tests/mutex/Makefile index f8ce4f613..93be0d29a 100644 --- a/apps/examples/elf/tests/mutex/Makefile +++ b/apps/examples/elf/tests/mutex/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/pthread/Makefile b/apps/examples/elf/tests/pthread/Makefile index 9d4ce496b..23d31d486 100644 --- a/apps/examples/elf/tests/pthread/Makefile +++ b/apps/examples/elf/tests/pthread/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/signal/Makefile b/apps/examples/elf/tests/signal/Makefile index c442ae9c6..6aeb26235 100644 --- a/apps/examples/elf/tests/signal/Makefile +++ b/apps/examples/elf/tests/signal/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/struct/Makefile b/apps/examples/elf/tests/struct/Makefile index 8fe7cf710..0ccfac249 100644 --- a/apps/examples/elf/tests/struct/Makefile +++ b/apps/examples/elf/tests/struct/Makefile @@ -84,5 +84,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) diff --git a/apps/examples/elf/tests/task/Makefile b/apps/examples/elf/tests/task/Makefile index 572d1072e..8cda9e0cc 100644 --- a/apps/examples/elf/tests/task/Makefile +++ b/apps/examples/elf/tests/task/Makefile @@ -83,5 +83,6 @@ clean: $(call CLEAN) install: + $(Q) mkdir -p $(ROMFS_DIR) $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN) |