summaryrefslogtreecommitdiff
path: root/apps/vsn/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-24 00:28:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-24 00:28:50 +0000
commit1e10d8d0d3733432f69d86948645896295864d42 (patch)
treea678b793c7a420cedb58e9f99ca4b39fea502fd6 /apps/vsn/Makefile
parentfe55a3d3121630eda2b910bac6b051a38e3b5f60 (diff)
downloadnuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.gz
nuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.bz2
nuttx-1e10d8d0d3733432f69d86948645896295864d42.zip
apps/ initialization now occurs during the earlier context build phase
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3412 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/vsn/Makefile')
-rw-r--r--apps/vsn/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/vsn/Makefile b/apps/vsn/Makefile
index b3fed59c2..a2dab4dbc 100644
--- a/apps/vsn/Makefile
+++ b/apps/vsn/Makefile
@@ -40,10 +40,18 @@
SUBDIRS = free hello poweroff ramtron sdcard
all: nothing
-.PHONY: nothing depend clean distclean
+.PHONY: nothing context depend clean distclean
nothing:
+.context:
+ @for dir in $(SUBDIRS) ; do \
+ $(MAKE) -C $$dir context TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \
+ done
+ @touch $@
+
+context: .context
+
depend:
@for dir in $(SUBDIRS) ; do \
$(MAKE) -C $$dir depend TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \