From a2206fb0a88bed573ef2a7ea379fce5b9c8b00be Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 11 Nov 2012 16:24:40 +0000 Subject: Partial change: Removing bash ARCHIVE loop git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3 --- apps/system/free/Makefile | 6 ++---- apps/system/i2c/Makefile | 4 +--- apps/system/install/Makefile | 5 ++--- apps/system/poweroff/Makefile | 5 ++--- apps/system/ramtron/Makefile | 5 ++--- apps/system/readline/Makefile | 4 +--- apps/system/sdcard/Makefile | 5 ++--- apps/system/sysinfo/Makefile | 5 ++--- 8 files changed, 14 insertions(+), 25 deletions(-) (limited to 'apps/system') 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 # Gregory Nutt # @@ -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 # Gregory Nutt # @@ -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 # Gregory Nutt # @@ -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 # Gregory Nutt # @@ -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 # Gregory Nutt # @@ -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 # Gregory Nutt # @@ -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 -- cgit v1.2.3