summaryrefslogtreecommitdiff
path: root/apps/examples/elf
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-06 08:00:47 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-06 08:00:47 -0600
commit5a79aa40e5a82a8358df0ab581f436df1e204134 (patch)
tree4d168ff54ec4177c03d24c074a82f5734da2b3a5 /apps/examples/elf
parent0c6521fb7bcde9542ccb41d84aaf075f9871e8df (diff)
downloadpx4-nuttx-5a79aa40e5a82a8358df0ab581f436df1e204134.tar.gz
px4-nuttx-5a79aa40e5a82a8358df0ab581f436df1e204134.tar.bz2
px4-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')
-rw-r--r--apps/examples/elf/Makefile2
-rw-r--r--apps/examples/elf/tests/Makefile3
-rw-r--r--apps/examples/elf/tests/errno/Makefile1
-rw-r--r--apps/examples/elf/tests/hello/Makefile1
-rw-r--r--apps/examples/elf/tests/helloxx/Makefile3
-rw-r--r--apps/examples/elf/tests/longjmp/Makefile1
-rw-r--r--apps/examples/elf/tests/mutex/Makefile1
-rw-r--r--apps/examples/elf/tests/pthread/Makefile1
-rw-r--r--apps/examples/elf/tests/signal/Makefile1
-rw-r--r--apps/examples/elf/tests/struct/Makefile1
-rw-r--r--apps/examples/elf/tests/task/Makefile1
11 files changed, 14 insertions, 2 deletions
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile
index 1467bf008..afeab7a1b 100644
--- a/apps/examples/elf/Makefile
+++ b/apps/examples/elf/Makefile
@@ -86,6 +86,8 @@ really_build: $(OBJS)
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
@$(MAKE) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" really_build
+install:
+
context:
# We can't make dependencies in this directory because the required
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)