From 1954be6e9c9421b45d0a9d05b10356acc7563150 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 29 Oct 2006 01:03:51 +0200 Subject: [PATCH] Automatically adjust ARFLAGS so "make -s" is really silent. --- config.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1