summaryrefslogtreecommitdiff
path: root/apps/examples/thttpd/content
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/thttpd/content
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/thttpd/content')
-rw-r--r--apps/examples/thttpd/content/Makefile3
-rw-r--r--apps/examples/thttpd/content/hello/Makefile1
-rw-r--r--apps/examples/thttpd/content/netstat/Makefile1
-rw-r--r--apps/examples/thttpd/content/tasks/Makefile1
4 files changed, 5 insertions, 1 deletions
diff --git a/apps/examples/thttpd/content/Makefile b/apps/examples/thttpd/content/Makefile
index 9ef8fe98a..561bcbf3c 100644
--- a/apps/examples/thttpd/content/Makefile
+++ b/apps/examples/thttpd/content/Makefile
@@ -62,7 +62,8 @@ build: $(foreach DIR, $(SUBDIRS), $(DIR)_build)
# Install each program in the romfs directory
-install: $(foreach DIR, $(SUBDIRS), $(DIR)_install)
+install:
+ $(foreach DIR, $(SUBDIRS), $(DIR)_install)
@( for file in $(INSTALL_FILES); do\
install -m 0644 -D $${file} $(ROMFS_DIR)/$${file}; \
done; )
diff --git a/apps/examples/thttpd/content/hello/Makefile b/apps/examples/thttpd/content/hello/Makefile
index 2856490ab..0273c7a98 100644
--- a/apps/examples/thttpd/content/hello/Makefile
+++ b/apps/examples/thttpd/content/hello/Makefile
@@ -77,5 +77,6 @@ clean:
$(call CLEAN)
install:
+
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)
diff --git a/apps/examples/thttpd/content/netstat/Makefile b/apps/examples/thttpd/content/netstat/Makefile
index 6d89bcd88..232731cd9 100644
--- a/apps/examples/thttpd/content/netstat/Makefile
+++ b/apps/examples/thttpd/content/netstat/Makefile
@@ -77,5 +77,6 @@ clean:
$(call CLEAN)
install:
+
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)
diff --git a/apps/examples/thttpd/content/tasks/Makefile b/apps/examples/thttpd/content/tasks/Makefile
index 418fca2b3..7c6e01231 100644
--- a/apps/examples/thttpd/content/tasks/Makefile
+++ b/apps/examples/thttpd/content/tasks/Makefile
@@ -77,5 +77,6 @@ clean:
$(call CLEAN)
install:
+
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)