From 1e10d8d0d3733432f69d86948645896295864d42 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 24 Mar 2011 00:28:50 +0000 Subject: 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 --- apps/examples/Makefile | 4 +++- apps/examples/dhcpd/Makefile | 2 +- apps/examples/hello/Makefile | 2 +- apps/examples/helloxx/Makefile | 2 +- apps/examples/hidkbd/Makefile | 2 +- apps/examples/igmp/Makefile | 2 +- apps/examples/mm/Makefile | 2 +- apps/examples/mount/Makefile | 2 +- apps/examples/nsh/Makefile | 2 +- apps/examples/null/Makefile | 2 +- apps/examples/nx/Makefile | 2 +- apps/examples/nxflat/Makefile | 2 +- apps/examples/ostest/Makefile | 2 +- apps/examples/pashello/Makefile | 2 +- apps/examples/pipe/Makefile | 2 +- apps/examples/poll/Makefile | 2 +- apps/examples/romfs/Makefile | 2 +- apps/examples/sendmail/Makefile | 2 +- apps/examples/serloop/Makefile | 2 +- apps/examples/thttpd/Makefile | 2 +- apps/examples/uip/Makefile | 2 +- apps/examples/usbserial/Makefile | 2 +- apps/examples/usbstorage/Makefile | 2 +- apps/examples/wget/Makefile | 2 +- apps/examples/wlan/Makefile | 2 +- 25 files changed, 27 insertions(+), 25 deletions(-) (limited to 'apps/examples') 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) -- cgit v1.2.3