summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-28 23:03:51 (GMT)
committerWolfgang Denk <wd@denx.de>2006-10-28 23:03:51 (GMT)
commit1954be6e9c9421b45d0a9d05b10356acc7563150 (patch)
tree4ea90827ba80820658ad9b9c9e7e1de4ccf73b31 /config.mk
parent07a69a18c2ecfda904231fdf23e2523ea7792eb6 (diff)
downloadu-boot-1954be6e9c9421b45d0a9d05b10356acc7563150.tar.xz
Automatically adjust ARFLAGS so "make -s" is really silent.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index f65d3ca..6e280bc 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