Explorar o código

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

Wolfgang Denk %!s(int64=18) %!d(string=hai) anos
pai
achega
1954be6e9c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      config.mk

+ 4 - 0
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