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/builtin | |
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/builtin')
-rw-r--r-- | apps/builtin/Makefile | 2 | ||||
-rw-r--r-- | apps/builtin/registry/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/builtin/Makefile b/apps/builtin/Makefile index 9b64e7b17..df2fbb3db 100644 --- a/apps/builtin/Makefile +++ b/apps/builtin/Makefile @@ -106,6 +106,8 @@ endif $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: $(Q) $(MAKE) -C registry context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" diff --git a/apps/builtin/registry/Makefile b/apps/builtin/registry/Makefile index 4ecd5da9f..255e55206 100644 --- a/apps/builtin/registry/Makefile +++ b/apps/builtin/registry/Makefile @@ -48,6 +48,8 @@ all: # This must run before any other context target +install: + context: .updated depend: |