diff options
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/README.txt | 46 | ||||
-rw-r--r-- | apps/examples/nettest/Makefile | 4 | ||||
-rw-r--r-- | apps/examples/udp/Makefile | 6 |
3 files changed, 28 insertions, 28 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt index 2dbef2e06..7f000dd5a 100644 --- a/apps/examples/README.txt +++ b/apps/examples/README.txt @@ -8,7 +8,7 @@ examples application Makefile (this path is a relative to the apps/ top- level directory). For example, - CONFIGURE_APPS += examples/ostest=.built_always + CONFIGURE_APPS += examples/ostest Selects the examples/ostest example. @@ -46,7 +46,7 @@ examples/dhcpd file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always + CONFIGURED_APPS += uiplib examples/hello ^^^^^^^^^^^^^^ @@ -101,7 +101,7 @@ examples/igmp file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always + CONFIGURED_APPS += uiplib examples/mm ^^^^^^^^^^^ @@ -145,7 +145,7 @@ examples/netttest file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always + CONFIGURED_APPS += uiplib examples/nsh ^^^^^^^^^^^^ @@ -159,15 +159,15 @@ examples/nsh file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = nshlib=.built_always + CONFIGURED_APPS += nshlib And if networking is included: - CONFIGURED_APPS = uiplib=.built_always - CONFIGURED_APPS = dhcpc=.built_always - CONFIGURED_APPS = resolv=.built_always - CONFIGURED_APPS = tftp=.built_always - CONFIGURED_APPS = webclient=.built_always + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += dhcpc + CONFIGURED_APPS += resolv + CONFIGURED_APPS += tftp + CONFIGURED_APPS += webclient examples/nx ^^^^^^^^^^^ @@ -332,7 +332,7 @@ examples/poll provide an appconfig file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always + CONFIGURED_APPS += uiplib examples/romfs ^^^^^^^^^^^^^^ @@ -384,8 +384,8 @@ examples/sendmail file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always - CONFIGURED_APPS = smtp=.built_always + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += smtp examples/serloop ^^^^^^^^^^^^^^^^ @@ -412,8 +412,8 @@ examples/thttpd file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always - CONFIGURED_APPS = thttpd=.built_always + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += thttpd examples/udp ^^^^^^^^^^^^ @@ -425,7 +425,7 @@ examples/udp file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always + CONFIGURED_APPS += uiplib examples/uip ^^^^^^^^^^^^ @@ -465,10 +465,10 @@ examples/uip file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always - CONFIGURED_APPS = dhcpc=.built_always - CONFIGURED_APPS = resolv=.built_always - CONFIGURED_APPS = webserver=.built_always + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += dhcpc + CONFIGURED_APPS += resolv + CONFIGURED_APPS += webserver examples/usbserial ^^^^^^^^^^^^^^^^^^ @@ -629,8 +629,8 @@ examples/wget file in the configuration driver with instruction to build applications like: - CONFIGURED_APPS = uiplib=.built_always - CONFIGURED_APPS = resolv=.built_always - CONFIGURED_APPS = webclient=.built_always + CONFIGURED_APPS += uiplib + CONFIGURED_APPS += resolv + CONFIGURED_APPS += webclient diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile index 38b930f45..7e17227ef 100644 --- a/apps/examples/nettest/Makefile +++ b/apps/examples/nettest/Makefile @@ -1,7 +1,7 @@ ############################################################################ # examples/nettest/Makefile # -# Copyright (C) 2007-2008, 2010-2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -79,7 +79,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built -.PHONY: .built clean depend disclean +.PHONY: clean depend disclean $(TARG_AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile index 36aa0a169..30a48baed 100644 --- a/apps/examples/udp/Makefile +++ b/apps/examples/udp/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/examples/udp/Makefile # -# Copyright (C) 2007-2008, 2010 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2008, 2011 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -79,7 +79,7 @@ ROOTDEPPATH = --dep-path . VPATH = all: .built -.PHONY: .built clean depend disclean +.PHONY: clean depend disclean $(TARG_AOBJS): %$(OBJEXT): %.S $(call ASSEMBLE, $<, $@) @@ -91,7 +91,6 @@ $(TARG_BIN): $(TARG_OBJS) $(HOST_BIN) @( for obj in $(TARG_OBJS) ; do \ $(call ARCHIVE, $@, $${obj}); \ done ; ) - @touch .built $(HOST_OBJS): %.o: %.c $(HOSTCC) -c $(HOSTCFLAGS) $< -o $@ @@ -100,6 +99,7 @@ $(HOST_BIN): $(HOST_OBJS) $(HOSTCC) $(HOSTLDFLAGS) $(HOST_OBJS) -o $@ .built: $(TARG_BIN) $(HOST_BIN) + @touch .built context: |