diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-11 16:24:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-11 16:24:40 +0000 |
commit | 24a0389152888e8d55f7b90850b7d0a09df53b2f (patch) | |
tree | c1bcb11e95386a92fe51eb6b0e96d6f4a025ca36 /apps/system | |
parent | a18d038b814eb0e7abb74ed2ea5a700304919240 (diff) | |
download | px4-firmware-24a0389152888e8d55f7b90850b7d0a09df53b2f.tar.gz px4-firmware-24a0389152888e8d55f7b90850b7d0a09df53b2f.tar.bz2 px4-firmware-24a0389152888e8d55f7b90850b7d0a09df53b2f.zip |
Partial change: Removing bash ARCHIVE loop
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system')
-rw-r--r-- | apps/system/free/Makefile | 6 | ||||
-rw-r--r-- | apps/system/i2c/Makefile | 4 | ||||
-rw-r--r-- | apps/system/install/Makefile | 5 | ||||
-rw-r--r-- | apps/system/poweroff/Makefile | 5 | ||||
-rw-r--r-- | apps/system/ramtron/Makefile | 5 | ||||
-rw-r--r-- | apps/system/readline/Makefile | 4 | ||||
-rw-r--r-- | apps/system/sdcard/Makefile | 5 | ||||
-rw-r--r-- | apps/system/sysinfo/Makefile | 5 |
8 files changed, 14 insertions, 25 deletions
diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile index 7f911d81c..2fe5c455d 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 00db91bb7..074906a6d 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 71d82f34c..6e85bba0c 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 40465e957..92949d93c 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 030ef6d5c..cb771a9cc 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 34fab7e81..d5db043ca 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 fef049a59..555ca151b 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 ead974277..2b269deb5 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 |