diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-24 00:28:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-24 00:28:50 +0000 |
commit | 1e10d8d0d3733432f69d86948645896295864d42 (patch) | |
tree | a678b793c7a420cedb58e9f99ca4b39fea502fd6 /apps/examples | |
parent | fe55a3d3121630eda2b910bac6b051a38e3b5f60 (diff) | |
download | px4-nuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.gz px4-nuttx-1e10d8d0d3733432f69d86948645896295864d42.tar.bz2 px4-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/examples')
25 files changed, 27 insertions, 25 deletions
diff --git a/apps/examples/Makefile b/apps/examples/Makefile index 21c11a783..b20442d62 100644 --- a/apps/examples/Makefile +++ b/apps/examples/Makefile @@ -42,10 +42,12 @@ SUBDIRS = dhcpd hello helloxx hidkbd igmp mm mount nettest nsh null nx \ udp uip usbserial usbstorage wget wlan all: nothing -.PHONY: nothing depend clean distclean +.PHONY: nothing context depend clean distclean nothing: +context: + depend: @for dir in $(SUBDIRS) ; do \ $(MAKE) -C $$dir depend TOPDIR="$(TOPDIR)" APPDIR=$(APPDIR); \ diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile index d4f03f74b..783418c66 100644 --- a/apps/examples/dhcpd/Makefile +++ b/apps/examples/dhcpd/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile index c856f145f..11046dbeb 100644 --- a/apps/examples/hello/Makefile +++ b/apps/examples/hello/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile index 5cbf55ef3..e4f58a4ea 100755 --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -87,7 +87,7 @@ $(BIN): chkcxx $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile index 48b0c90a2..9ea170b8e 100644 --- a/apps/examples/hidkbd/Makefile +++ b/apps/examples/hidkbd/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile index d1362f0b8..947b95484 100755 --- a/apps/examples/igmp/Makefile +++ b/apps/examples/igmp/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile index 747a1a1e2..30cfea32f 100644 --- a/apps/examples/mm/Makefile +++ b/apps/examples/mm/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile index 04d2d21f6..3cfc2f35c 100644 --- a/apps/examples/mount/Makefile +++ b/apps/examples/mount/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile index 1887d3bbe..d6d78bc00 100644 --- a/apps/examples/nsh/Makefile +++ b/apps/examples/nsh/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile index 9d842638a..472b06289 100644 --- a/apps/examples/null/Makefile +++ b/apps/examples/null/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile index 72ba1915f..1f543a34e 100644 --- a/apps/examples/nx/Makefile +++ b/apps/examples/nx/Makefile @@ -73,7 +73,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile index 73a5a95d1..570a059a8 100644 --- a/apps/examples/nxflat/Makefile +++ b/apps/examples/nxflat/Makefile @@ -73,7 +73,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) # We can't make dependencies in this directory because the required diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index 469fe032a..3c0284d73 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -110,7 +110,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile index 6e2579191..11d99ce56 100644 --- a/apps/examples/pashello/Makefile +++ b/apps/examples/pashello/Makefile @@ -77,7 +77,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile index e46bbdd82..0f56c5553 100644 --- a/apps/examples/pipe/Makefile +++ b/apps/examples/pipe/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile index e33e493f1..0a0e0e65d 100644 --- a/apps/examples/poll/Makefile +++ b/apps/examples/poll/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile index 7e12866f8..764f70640 100644 --- a/apps/examples/romfs/Makefile +++ b/apps/examples/romfs/Makefile @@ -86,7 +86,7 @@ $(BIN): romfs_testdir.h $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile index 81aed5ca6..a3beb7059 100644 --- a/apps/examples/sendmail/Makefile +++ b/apps/examples/sendmail/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile index c3c0274db..0366d6248 100644 --- a/apps/examples/serloop/Makefile +++ b/apps/examples/serloop/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile index 91c8c19e1..2690e6297 100644 --- a/apps/examples/thttpd/Makefile +++ b/apps/examples/thttpd/Makefile @@ -73,7 +73,7 @@ $(BIN): headers $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile index 08abe15b0..59c5f76b4 100644 --- a/apps/examples/uip/Makefile +++ b/apps/examples/uip/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile index 2ac0cb085..b4d51ab82 100644 --- a/apps/examples/usbserial/Makefile +++ b/apps/examples/usbserial/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/usbstorage/Makefile b/apps/examples/usbstorage/Makefile index 5e8983f46..aa3512547 100644 --- a/apps/examples/usbstorage/Makefile +++ b/apps/examples/usbstorage/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile index b9cc15510..f245bf5a4 100644 --- a/apps/examples/wget/Makefile +++ b/apps/examples/wget/Makefile @@ -70,7 +70,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) diff --git a/apps/examples/wlan/Makefile b/apps/examples/wlan/Makefile index 756389571..313436815 100755 --- a/apps/examples/wlan/Makefile +++ b/apps/examples/wlan/Makefile @@ -71,7 +71,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $${obj}); \ done ; ) @touch .built - + .built: $(BIN) .depend: Makefile $(SRCS) |