summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-11 16:24:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-11 16:24:40 +0000
commita2206fb0a88bed573ef2a7ea379fce5b9c8b00be (patch)
treec1bcb11e95386a92fe51eb6b0e96d6f4a025ca36
parentfb10e5e13cdebe6fd2f49cf6d593ce3140ef27ff (diff)
Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--apps/Makefile3
-rw-r--r--apps/examples/adc/Makefile6
-rw-r--r--apps/examples/buttons/Makefile6
-rw-r--r--apps/examples/can/Makefile6
-rw-r--r--apps/examples/cdcacm/Makefile4
-rw-r--r--apps/examples/composite/Makefile4
-rw-r--r--apps/examples/cxxtest/Makefile6
-rw-r--r--apps/examples/dhcpd/Makefile6
-rw-r--r--apps/examples/discover/Makefile4
-rw-r--r--apps/examples/elf/Makefile4
-rw-r--r--apps/examples/ftpc/Makefile6
-rw-r--r--apps/examples/ftpd/Makefile4
-rw-r--r--apps/examples/hello/Makefile4
-rw-r--r--apps/examples/helloxx/Makefile6
-rw-r--r--apps/examples/hidkbd/Makefile6
-rw-r--r--apps/examples/igmp/Makefile6
-rw-r--r--apps/examples/json/Makefile4
-rw-r--r--apps/examples/lcdrw/Makefile6
-rw-r--r--apps/examples/mm/Makefile6
-rw-r--r--apps/examples/modbus/Makefile4
-rw-r--r--apps/examples/mount/Makefile6
-rw-r--r--apps/examples/nettest/Makefile6
-rw-r--r--apps/examples/nsh/Makefile6
-rw-r--r--apps/examples/null/Makefile6
-rw-r--r--apps/examples/nx/Makefile6
-rw-r--r--apps/examples/nxconsole/Makefile6
-rw-r--r--apps/examples/nxffs/Makefile6
-rw-r--r--apps/examples/nxflat/Makefile6
-rw-r--r--apps/examples/nxhello/Makefile6
-rw-r--r--apps/examples/nximage/Makefile6
-rw-r--r--apps/examples/nxlines/Makefile6
-rw-r--r--apps/examples/nxtext/Makefile6
-rw-r--r--apps/examples/ostest/Makefile4
-rw-r--r--apps/examples/pashello/Makefile6
-rw-r--r--apps/examples/pipe/Makefile6
-rw-r--r--apps/examples/poll/Makefile6
-rw-r--r--apps/examples/pwm/Makefile6
-rw-r--r--apps/examples/qencoder/Makefile4
-rw-r--r--apps/examples/relays/Makefile4
-rw-r--r--apps/examples/rgmp/Makefile6
-rw-r--r--apps/examples/romfs/Makefile6
-rw-r--r--apps/examples/sendmail/Makefile6
-rw-r--r--apps/examples/serloop/Makefile6
-rw-r--r--apps/examples/telnetd/Makefile4
-rw-r--r--apps/examples/thttpd/Makefile6
-rw-r--r--apps/examples/tiff/Makefile6
-rw-r--r--apps/examples/touchscreen/Makefile6
-rw-r--r--apps/examples/udp/Makefile6
-rw-r--r--apps/examples/uip/Makefile4
-rw-r--r--apps/examples/usbserial/Makefile6
-rw-r--r--apps/examples/usbstorage/Makefile4
-rw-r--r--apps/examples/usbterm/Makefile4
-rw-r--r--apps/examples/watchdog/Makefile4
-rw-r--r--apps/examples/wget/Makefile6
-rw-r--r--apps/examples/wgetjson/Makefile4
-rw-r--r--apps/examples/wlan/Makefile6
-rw-r--r--apps/examples/xmlrpc/Makefile4
-rw-r--r--apps/graphics/tiff/Makefile6
-rw-r--r--apps/interpreters/ficl/Makefile6
-rw-r--r--apps/modbus/Makefile4
-rw-r--r--apps/namedapp/Makefile6
-rw-r--r--apps/netutils/codecs/Makefile4
-rw-r--r--apps/netutils/dhcpc/Makefile6
-rw-r--r--apps/netutils/dhcpd/Makefile6
-rw-r--r--apps/netutils/discover/Makefile4
-rw-r--r--apps/netutils/ftpc/Makefile6
-rw-r--r--apps/netutils/ftpd/Makefile4
-rw-r--r--apps/netutils/json/Makefile4
-rw-r--r--apps/netutils/resolv/Makefile6
-rw-r--r--apps/netutils/smtp/Makefile6
-rw-r--r--apps/netutils/telnetd/Makefile4
-rw-r--r--apps/netutils/tftpc/Makefile6
-rw-r--r--apps/netutils/thttpd/Makefile8
-rw-r--r--apps/netutils/uiplib/Makefile6
-rw-r--r--apps/netutils/webclient/Makefile6
-rw-r--r--apps/netutils/webserver/Makefile4
-rw-r--r--apps/netutils/xmlrpc/Makefile4
-rw-r--r--apps/nshlib/Makefile4
-rw-r--r--apps/system/free/Makefile6
-rw-r--r--apps/system/i2c/Makefile4
-rw-r--r--apps/system/install/Makefile5
-rw-r--r--apps/system/poweroff/Makefile5
-rw-r--r--apps/system/ramtron/Makefile5
-rw-r--r--apps/system/readline/Makefile4
-rw-r--r--apps/system/sdcard/Makefile5
-rw-r--r--apps/system/sysinfo/Makefile5
86 files changed, 142 insertions, 310 deletions
diff --git a/apps/Makefile b/apps/Makefile
index be98dbbfe2..9bdafb1819 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -131,9 +131,6 @@ $(INSTALLED_APPS):
@$(MAKE) -C $@ TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)";
$(BIN): $(INSTALLED_APPS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
- done ; )
.context:
@for dir in $(INSTALLED_APPS) ; do \
diff --git a/apps/examples/adc/Makefile b/apps/examples/adc/Makefile
index 6357dfc3db..7b5259716f 100644
--- a/apps/examples/adc/Makefile
+++ b/apps/examples/adc/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/adc/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/buttons/Makefile b/apps/examples/buttons/Makefile
index 25d1ef2c2d..c050434803 100644
--- a/apps/examples/buttons/Makefile
+++ b/apps/examples/buttons/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/buttons/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile
index c6dc5af84c..d5c7a04efb 100644
--- a/apps/examples/can/Makefile
+++ b/apps/examples/can/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/can/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/cdcacm/Makefile b/apps/examples/cdcacm/Makefile
index 3fa886d561..71cd2f3afb 100644
--- a/apps/examples/cdcacm/Makefile
+++ b/apps/examples/cdcacm/Makefile
@@ -80,9 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/composite/Makefile b/apps/examples/composite/Makefile
index 17c9f6d18d..80292dbfa2 100644
--- a/apps/examples/composite/Makefile
+++ b/apps/examples/composite/Makefile
@@ -80,9 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/cxxtest/Makefile b/apps/examples/cxxtest/Makefile
index 803bffa73c..ac70a34f95 100644
--- a/apps/examples/cxxtest/Makefile
+++ b/apps/examples/cxxtest/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/cxxtest/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -93,9 +93,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
.built: chkcxx $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/dhcpd/Makefile b/apps/examples/dhcpd/Makefile
index 3254a98067..ceaa3b0224 100644
--- a/apps/examples/dhcpd/Makefile
+++ b/apps/examples/dhcpd/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/dhcpd/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/discover/Makefile b/apps/examples/discover/Makefile
index 3bb6b939eb..a3e90399c4 100644
--- a/apps/examples/discover/Makefile
+++ b/apps/examples/discover/Makefile
@@ -77,9 +77,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile
index ea483e7a14..ab49532c80 100644
--- a/apps/examples/elf/Makefile
+++ b/apps/examples/elf/Makefile
@@ -75,9 +75,7 @@ $(COBJS): %$(OBJEXT): %.c
# generating the source files.
really_build: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.built:
diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile
index cf32be0f0d..ca630c8143 100644
--- a/apps/examples/ftpc/Makefile
+++ b/apps/examples/ftpc/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/ftpc/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/examples/ftpd/Makefile b/apps/examples/ftpd/Makefile
index 4eb25c9e91..bf0e435d7a 100644
--- a/apps/examples/ftpd/Makefile
+++ b/apps/examples/ftpd/Makefile
@@ -71,9 +71,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile
index 1d78d723ed..dc9c6c25c5 100644
--- a/apps/examples/hello/Makefile
+++ b/apps/examples/hello/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile
index 8e85eab23e..63da0bde39 100644
--- a/apps/examples/helloxx/Makefile
+++ b/apps/examples/helloxx/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/helloxx/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -93,9 +93,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(call COMPILEXX, $<, $@)
.built: chkcxx $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/hidkbd/Makefile b/apps/examples/hidkbd/Makefile
index 8dccb0475e..bd060d83a1 100644
--- a/apps/examples/hidkbd/Makefile
+++ b/apps/examples/hidkbd/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/hidkbd/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/igmp/Makefile b/apps/examples/igmp/Makefile
index 1bab2c62ea..f6a171d495 100644
--- a/apps/examples/igmp/Makefile
+++ b/apps/examples/igmp/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/igmp/Makefile
#
-# Copyright (C) 2010 Gregory Nutt. All rights reserved.
+# Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/json/Makefile b/apps/examples/json/Makefile
index c2fd26bff1..9c3ac61b64 100644
--- a/apps/examples/json/Makefile
+++ b/apps/examples/json/Makefile
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/lcdrw/Makefile b/apps/examples/lcdrw/Makefile
index cc23d3fe1c..c0b6efb8db 100644
--- a/apps/examples/lcdrw/Makefile
+++ b/apps/examples/lcdrw/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/lcdrw/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/mm/Makefile b/apps/examples/mm/Makefile
index 24ed4926f7..e73cd9baa3 100644
--- a/apps/examples/mm/Makefile
+++ b/apps/examples/mm/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/mm/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/modbus/Makefile b/apps/examples/modbus/Makefile
index 6dbc7e4245..78ea568d02 100644
--- a/apps/examples/modbus/Makefile
+++ b/apps/examples/modbus/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/mount/Makefile b/apps/examples/mount/Makefile
index 69cf970cf0..fd6a4b963a 100644
--- a/apps/examples/mount/Makefile
+++ b/apps/examples/mount/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/Makefile
#
-# Copyright (C) 2007-2008, 2010-2010 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2008, 2010-2010, 2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nettest/Makefile b/apps/examples/nettest/Makefile
index 9dd80e271b..09a7c42ddc 100644
--- a/apps/examples/nettest/Makefile
+++ b/apps/examples/nettest/Makefile
@@ -1,7 +1,7 @@
############################################################################
# examples/nettest/Makefile
#
-# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -112,9 +112,7 @@ $(HOST_BIN): $(HOST_OBJS)
@$(HOSTCC) $(HOSTLDFLAGS) $(HOST_OBJS) -o $@
.built: $(TARG_OBJS)
- @( for obj in $(TARG_OBJS) ; do \
- $(call ARCHIVE, $(TARG_BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(TARG_OBJS)")
@touch .built
.context:
diff --git a/apps/examples/nsh/Makefile b/apps/examples/nsh/Makefile
index bad40fb2e2..b0efd9aa1b 100644
--- a/apps/examples/nsh/Makefile
+++ b/apps/examples/nsh/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nsh/Makefile
#
-# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/null/Makefile b/apps/examples/null/Makefile
index 6341206007..6234f77ea6 100644
--- a/apps/examples/null/Makefile
+++ b/apps/examples/null/Makefile
@@ -1,7 +1,7 @@
############################################################################
# examples/null/Makefile
#
-# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nx/Makefile b/apps/examples/nx/Makefile
index 748d67210b..6b670d83de 100644
--- a/apps/examples/nx/Makefile
+++ b/apps/examples/nx/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nx/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -79,9 +79,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/nxconsole/Makefile b/apps/examples/nxconsole/Makefile
index 78a96a25d0..a478e6bded 100644
--- a/apps/examples/nxconsole/Makefile
+++ b/apps/examples/nxconsole/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxconsole/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nxffs/Makefile b/apps/examples/nxffs/Makefile
index b3d36e1634..28c869e16c 100644
--- a/apps/examples/nxffs/Makefile
+++ b/apps/examples/nxffs/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxffs/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nxflat/Makefile b/apps/examples/nxflat/Makefile
index a49177a332..e8a15a859c 100644
--- a/apps/examples/nxflat/Makefile
+++ b/apps/examples/nxflat/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxflat/Makefile
#
-# Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -73,9 +73,7 @@ headers:
@$(MAKE) -C tests TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/nxhello/Makefile b/apps/examples/nxhello/Makefile
index 16e80e15e0..37d76b842a 100644
--- a/apps/examples/nxhello/Makefile
+++ b/apps/examples/nxhello/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxhello/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile
index a59f05a798..f428009a2a 100644
--- a/apps/examples/nximage/Makefile
+++ b/apps/examples/nximage/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nximage/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/nxlines/Makefile b/apps/examples/nxlines/Makefile
index e69ce6c0db..2127f1b61e 100644
--- a/apps/examples/nxlines/Makefile
+++ b/apps/examples/nxlines/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxlines/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/nxtext/Makefile b/apps/examples/nxtext/Makefile
index 8a9f349f44..ff8f1da694 100644
--- a/apps/examples/nxtext/Makefile
+++ b/apps/examples/nxtext/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/nxtext/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -80,9 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile
index 374964b396..e73abfb47d 100644
--- a/apps/examples/ostest/Makefile
+++ b/apps/examples/ostest/Makefile
@@ -120,9 +120,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/pashello/Makefile b/apps/examples/pashello/Makefile
index f090a68eaf..c5103f2c6e 100644
--- a/apps/examples/pashello/Makefile
+++ b/apps/examples/pashello/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/pashello/Makefile
#
-# Copyright (C) 2008-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/pipe/Makefile b/apps/examples/pipe/Makefile
index 956c911b34..d484d9fd98 100644
--- a/apps/examples/pipe/Makefile
+++ b/apps/examples/pipe/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/pipe/Makefile
#
-# Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/poll/Makefile b/apps/examples/poll/Makefile
index aef61d199c..204acbb5e8 100644
--- a/apps/examples/poll/Makefile
+++ b/apps/examples/poll/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/poll/Makefile
#
-# Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/pwm/Makefile b/apps/examples/pwm/Makefile
index efbdb048e0..4a01293afe 100644
--- a/apps/examples/pwm/Makefile
+++ b/apps/examples/pwm/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/pwm/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/qencoder/Makefile b/apps/examples/qencoder/Makefile
index 3f3fc9def8..5959d14a3f 100644
--- a/apps/examples/qencoder/Makefile
+++ b/apps/examples/qencoder/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/relays/Makefile b/apps/examples/relays/Makefile
index 4a65306935..72d2faa956 100644
--- a/apps/examples/relays/Makefile
+++ b/apps/examples/relays/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/rgmp/Makefile b/apps/examples/rgmp/Makefile
index 3590bb0f08..74b6c154b7 100644
--- a/apps/examples/rgmp/Makefile
+++ b/apps/examples/rgmp/Makefile
@@ -1,7 +1,7 @@
############################################################################
# examples/rgmp/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/romfs/Makefile b/apps/examples/romfs/Makefile
index ba930b77d0..f82da8fe44 100644
--- a/apps/examples/romfs/Makefile
+++ b/apps/examples/romfs/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/romfs/Makefile
#
-# Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -86,9 +86,7 @@ romfs_testdir.h : testdir.img
@xxd -i $< >$@ || { echo "xxd of $< failed" ; exit 1 ; }
.built: romfs_testdir.h $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/sendmail/Makefile b/apps/examples/sendmail/Makefile
index 6ee29d935e..0949c7f541 100644
--- a/apps/examples/sendmail/Makefile
+++ b/apps/examples/sendmail/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/sendmail/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/serloop/Makefile b/apps/examples/serloop/Makefile
index e1c415cdd8..6c5d849e6f 100644
--- a/apps/examples/serloop/Makefile
+++ b/apps/examples/serloop/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/serloop/Makefile
#
-# Copyright (C) 2008, 2010-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/telnetd/Makefile b/apps/examples/telnetd/Makefile
index fe892670e1..960d221636 100644
--- a/apps/examples/telnetd/Makefile
+++ b/apps/examples/telnetd/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile
index 897f15b334..cfdd45a670 100644
--- a/apps/examples/thttpd/Makefile
+++ b/apps/examples/thttpd/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/thttpd/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -73,9 +73,7 @@ headers:
@$(MAKE) -C content TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" CROSSDEV=$(CROSSDEV)
.built: headers $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/tiff/Makefile b/apps/examples/tiff/Makefile
index 22611a400f..fb1fb7d342 100644
--- a/apps/examples/tiff/Makefile
+++ b/apps/examples/tiff/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/tiff/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/touchscreen/Makefile b/apps/examples/touchscreen/Makefile
index bd32f9f607..d0bd2dbc70 100644
--- a/apps/examples/touchscreen/Makefile
+++ b/apps/examples/touchscreen/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/touchscreen/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile
index 17438321c3..07f2ba80b2 100644
--- a/apps/examples/udp/Makefile
+++ b/apps/examples/udp/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/udp/Makefile
#
-# Copyright (C) 2007-2008, 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -92,9 +92,7 @@ $(TARG_COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
"$(TARG_BIN)": $(TARG_OBJS) $(HOST_BIN)
- @( for obj in $(TARG_OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(TARG_OBJS)")
$(HOST_OBJS): %.o: %.c
$(HOSTCC) -c $(HOSTCFLAGS) $< -o $@
diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile
index 218f6f3c60..316e01a163 100644
--- a/apps/examples/uip/Makefile
+++ b/apps/examples/uip/Makefile
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
httpd_fsdata.c: httpd-fs/*
diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile
index 4b6bd89483..7bca964632 100644
--- a/apps/examples/usbserial/Makefile
+++ b/apps/examples/usbserial/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/usbserial/Makefile
#
-# Copyright (C) 2008, 2010-2010 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/usbstorage/Makefile b/apps/examples/usbstorage/Makefile
index d68a759e86..9ee03efc07 100644
--- a/apps/examples/usbstorage/Makefile
+++ b/apps/examples/usbstorage/Makefile
@@ -80,9 +80,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/usbterm/Makefile b/apps/examples/usbterm/Makefile
index 8db1f9897d..461a98fa36 100644
--- a/apps/examples/usbterm/Makefile
+++ b/apps/examples/usbterm/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/watchdog/Makefile b/apps/examples/watchdog/Makefile
index d2739dbb0a..22613aea2b 100644
--- a/apps/examples/watchdog/Makefile
+++ b/apps/examples/watchdog/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile
index 7771619a5b..ddb7b6bf29 100644
--- a/apps/examples/wget/Makefile
+++ b/apps/examples/wget/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/wget/Makefile
#
-# Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile
index e8c3e50650..9687380e9b 100644
--- a/apps/examples/wgetjson/Makefile
+++ b/apps/examples/wgetjson/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/examples/wlan/Makefile b/apps/examples/wlan/Makefile
index 88b1e3e2a1..83fb94fc57 100644
--- a/apps/examples/wlan/Makefile
+++ b/apps/examples/wlan/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/wlan/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Authors: Gregory Nutt <gnutt@nuttx.org>
# Rafael Noronha <rafael@pdsolucoes.com.br>
#
@@ -71,9 +71,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/examples/xmlrpc/Makefile b/apps/examples/xmlrpc/Makefile
index 9fa03bf7ee..87eae9ed22 100644
--- a/apps/examples/xmlrpc/Makefile
+++ b/apps/examples/xmlrpc/Makefile
@@ -77,9 +77,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/graphics/tiff/Makefile b/apps/graphics/tiff/Makefile
index af487c1a9c..84e3a66bd6 100644
--- a/apps/graphics/tiff/Makefile
+++ b/apps/graphics/tiff/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/graphics/tiff/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -70,9 +70,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/interpreters/ficl/Makefile b/apps/interpreters/ficl/Makefile
index fb953964e1..9a1fa7e719 100644
--- a/apps/interpreters/ficl/Makefile
+++ b/apps/interpreters/ficl/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/interpreters/ficl/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -95,9 +95,7 @@ debug:
@#echo "CFLAGS: $(CFLAGS)"
.built: debug $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/modbus/Makefile b/apps/modbus/Makefile
index 3cee140171..01deedb542 100644
--- a/apps/modbus/Makefile
+++ b/apps/modbus/Makefile
@@ -88,9 +88,7 @@ endif
.built: $(OBJS)
ifeq ($(CONFIG_MODBUS),y)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
endif
diff --git a/apps/namedapp/Makefile b/apps/namedapp/Makefile
index 6b0fd6a053..29ae343fbb 100644
--- a/apps/namedapp/Makefile
+++ b/apps/namedapp/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/nshlib/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -75,9 +75,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/netutils/codecs/Makefile b/apps/netutils/codecs/Makefile
index d1b84d4603..1b7a9aa5c0 100644
--- a/apps/netutils/codecs/Makefile
+++ b/apps/netutils/codecs/Makefile
@@ -68,9 +68,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile
index 29e5bd4f2b..0207fff007 100644
--- a/apps/netutils/dhcpc/Makefile
+++ b/apps/netutils/dhcpc/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/dhcpc/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile
index b05fe1c74d..cf91c2390c 100644
--- a/apps/netutils/dhcpd/Makefile
+++ b/apps/netutils/dhcpd/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/dhcpd/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/discover/Makefile b/apps/netutils/discover/Makefile
index 52099b439a..609365f637 100644
--- a/apps/netutils/discover/Makefile
+++ b/apps/netutils/discover/Makefile
@@ -77,9 +77,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/ftpc/Makefile b/apps/netutils/ftpc/Makefile
index 723179131d..0544ddb1a2 100644
--- a/apps/netutils/ftpc/Makefile
+++ b/apps/netutils/ftpc/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/ftpc/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -90,9 +90,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/ftpd/Makefile b/apps/netutils/ftpd/Makefile
index 84e4f79a77..158159f545 100644
--- a/apps/netutils/ftpd/Makefile
+++ b/apps/netutils/ftpd/Makefile
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/json/Makefile b/apps/netutils/json/Makefile
index 1426a1a51f..a0c99a4711 100644
--- a/apps/netutils/json/Makefile
+++ b/apps/netutils/json/Makefile
@@ -68,9 +68,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/resolv/Makefile b/apps/netutils/resolv/Makefile
index 89744e3233..423397f3f3 100644
--- a/apps/netutils/resolv/Makefile
+++ b/apps/netutils/resolv/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/resolv/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/smtp/Makefile b/apps/netutils/smtp/Makefile
index 5a43d1c9d6..01864da3bf 100644
--- a/apps/netutils/smtp/Makefile
+++ b/apps/netutils/smtp/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/smtp/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/telnetd/Makefile b/apps/netutils/telnetd/Makefile
index fac6df5719..a07a92b624 100644
--- a/apps/netutils/telnetd/Makefile
+++ b/apps/netutils/telnetd/Makefile
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile
index 910046c11e..d8fb88ad99 100644
--- a/apps/netutils/tftpc/Makefile
+++ b/apps/netutils/tftpc/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/tftpc/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile
index f505125da7..38f6750434 100644
--- a/apps/netutils/thttpd/Makefile
+++ b/apps/netutils/thttpd/Makefile
@@ -1,7 +1,7 @@
#############################################################################
# apps/netutils/thttpd/Makefile
#
-# Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -106,11 +106,9 @@ cgi-bin/$(SUBDIR_BIN3): cgi-bin cgi-src/$(SUBDIR_BIN3)
endif
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
-
+
context:
.depend: Makefile $(SRCS)
diff --git a/apps/netutils/uiplib/Makefile b/apps/netutils/uiplib/Makefile
index c1b128c26d..29e569b011 100644
--- a/apps/netutils/uiplib/Makefile
+++ b/apps/netutils/uiplib/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/uiplib/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -90,9 +90,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/webclient/Makefile b/apps/netutils/webclient/Makefile
index d999d47af0..5fb6a2bb17 100644
--- a/apps/netutils/webclient/Makefile
+++ b/apps/netutils/webclient/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/webclient/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile
index 4b1f2f9f3c..965de73b22 100644
--- a/apps/netutils/webserver/Makefile
+++ b/apps/netutils/webserver/Makefile
@@ -81,9 +81,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/netutils/xmlrpc/Makefile b/apps/netutils/xmlrpc/Makefile
index 903506f46a..3efdf0778d 100644
--- a/apps/netutils/xmlrpc/Makefile
+++ b/apps/netutils/xmlrpc/Makefile
@@ -76,9 +76,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/nshlib/Makefile b/apps/nshlib/Makefile
index 71f159b388..46dbdd0b11 100644
--- a/apps/nshlib/Makefile
+++ b/apps/nshlib/Makefile
@@ -110,9 +110,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
context:
diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile
index 7f911d81cc..2fe5c455d6 100644
--- a/apps/system/free/Makefile
+++ b/apps/system/free/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/system/free/Makefile
#
-# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2011-2012 Uros Platise. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +83,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile
index 00db91bb70..074906a6db 100644
--- a/apps/system/i2c/Makefile
+++ b/apps/system/i2c/Makefile
@@ -73,9 +73,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
.context:
diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile
index 71d82f34ce..6e85bba0c9 100644
--- a/apps/system/install/Makefile
+++ b/apps/system/install/Makefile
@@ -2,6 +2,7 @@
# apps/system/install/Makefile
#
# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile
index 40465e957d..92949d93c7 100644
--- a/apps/system/poweroff/Makefile
+++ b/apps/system/poweroff/Makefile
@@ -2,6 +2,7 @@
# apps/system/poweroff/Makefile
#
# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile
index 030ef6d5c4..cb771a9cc5 100644
--- a/apps/system/ramtron/Makefile
+++ b/apps/system/ramtron/Makefile
@@ -2,6 +2,7 @@
# apps/system/ramtron/Makefile
#
# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/system/readline/Makefile b/apps/system/readline/Makefile
index 34fab7e810..d5db043cac 100644
--- a/apps/system/readline/Makefile
+++ b/apps/system/readline/Makefile
@@ -74,9 +74,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Context build phase target
diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile
index fef049a59b..555ca151b3 100644
--- a/apps/system/sdcard/Makefile
+++ b/apps/system/sdcard/Makefile
@@ -2,6 +2,7 @@
# apps/system/sdcard/Makefile
#
# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application
diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile
index ead9742779..2b269deb59 100644
--- a/apps/system/sysinfo/Makefile
+++ b/apps/system/sysinfo/Makefile
@@ -2,6 +2,7 @@
# apps/system/sysinfo/Makefile
#
# Copyright (C) 2011 Uros Platise. All rights reserved.
+# Copyright (C) 2012 Gregory Nutt. All rights reserved.
# Author: Uros Platise <uros.platise@isotel.eu>
# Gregory Nutt <gnutt@nuttx.org>
#
@@ -83,9 +84,7 @@ $(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
- @( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $(BIN), $${obj}); \
- done ; )
+ $(call ARCHIVE, $@, "$(OBJS)")
@touch .built
# Register application