aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-29 01:03:51 +0200
committerWolfgang Denk <wd@denx.de>2006-10-29 01:03:51 +0200
commit1954be6e9c9421b45d0a9d05b10356acc7563150 (patch)
tree4ea90827ba80820658ad9b9c9e7e1de4ccf73b31
parent07a69a18c2ecfda904231fdf23e2523ea7792eb6 (diff)
downloadu-boot-linaro-stable-1954be6e9c9421b45d0a9d05b10356acc7563150.tar.gz
Automatically adjust ARFLAGS so "make -s" is really silent.
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index f65d3ca48..6e280bc83 100644
--- 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