summaryrefslogtreecommitdiff
path: root/config.mk
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 /config.mk
parent07a69a18c2ecfda904231fdf23e2523ea7792eb6 (diff)
downloadu-boot-imx-1954be6e9c9421b45d0a9d05b10356acc7563150.zip
u-boot-imx-1954be6e9c9421b45d0a9d05b10356acc7563150.tar.gz
u-boot-imx-1954be6e9c9421b45d0a9d05b10356acc7563150.tar.bz2
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