Automatically adjust ARFLAGS so "make -s" is really silent.

This commit is contained in:
Wolfgang Denk 2006-10-29 01:03:51 +02:00 committed by Wolfgang Denk
parent 07a69a18c2
commit 1954be6e9c

View file

@ -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