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
1 changed files with 4 additions and 0 deletions

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