]> git.sur5r.net Git - u-boot/commitdiff
Automatically adjust ARFLAGS so "make -s" is really silent.
authorWolfgang Denk <wd@pollux.denx.de>
Sat, 28 Oct 2006 23:03:51 +0000 (01:03 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 28 Oct 2006 23:03:51 +0000 (01:03 +0200)
config.mk

index f65d3ca48d280c0ca5717e408a9ccc783adb4cb7..6e280bc83487dc8b062be7b602de7b05839dc7bd 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -127,7 +127,11 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
 OBJDUMP = $(CROSS_COMPILE)objdump
 RANLIB = $(CROSS_COMPILE)RANLIB
 
+ifneq (,$(findstring s,$(MAKEFLAGS)))
+ARFLAGS = cr
+else
 ARFLAGS = crv
+endif
 RELFLAGS= $(PLATFORM_RELFLAGS)
 DBGFLAGS= -g # -DDEBUG
 OPTFLAGS= -Os #-fomit-frame-pointer