From: Wolfgang Denk Date: Sat, 28 Oct 2006 23:03:51 +0000 (+0200) Subject: Automatically adjust ARFLAGS so "make -s" is really silent. X-Git-Tag: U-Boot-1_1_6~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1954be6e9c9421b45d0a9d05b10356acc7563150;p=oweals%2Fu-boot.git Automatically adjust ARFLAGS so "make -s" is really silent. --- diff --git a/config.mk b/config.mk index f65d3ca48d..6e280bc834 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