summaryrefslogtreecommitdiff
path: root/apps/graphics
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/graphics
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/graphics')
-rw-r--r--apps/graphics/Makefile2
-rw-r--r--apps/graphics/screenshot/Makefile4
-rw-r--r--apps/graphics/tiff/Makefile2
3 files changed, 8 insertions, 0 deletions
diff --git a/apps/graphics/Makefile b/apps/graphics/Makefile
index 52d42c563..7503c4343 100644
--- a/apps/graphics/Makefile
+++ b/apps/graphics/Makefile
@@ -58,6 +58,8 @@ $(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),distclean)))
nothing:
+install:
+
context: # $(foreach SDIR, $(CNTXTDIRS), $(SDIR)_context)
depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend)
diff --git a/apps/graphics/screenshot/Makefile b/apps/graphics/screenshot/Makefile
index 08a6f351f..fe52f924b 100644
--- a/apps/graphics/screenshot/Makefile
+++ b/apps/graphics/screenshot/Makefile
@@ -91,8 +91,12 @@ ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
+install:
+
context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
+install:
+
context:
endif
diff --git a/apps/graphics/tiff/Makefile b/apps/graphics/tiff/Makefile
index 8eff3a0cd..3f04b4f30 100644
--- a/apps/graphics/tiff/Makefile
+++ b/apps/graphics/tiff/Makefile
@@ -77,6 +77,8 @@ $(COBJS): %$(OBJEXT): %.c
$(call ARCHIVE, $(BIN), $(OBJS))
$(Q) touch .built
+install:
+
context:
.depend: Makefile $(SRCS)