From ff1b7e871f8510d5b27b88678e601f8f351f5200 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 31 May 2008 07:27:52 +0000 Subject: [PATCH] Makefile: honor silent (-s) flag --- package/Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/Makefile.in b/package/Makefile.in index ad8280db87..d6f6047c0c 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -9,6 +9,12 @@ HOSTMAKE :=$(shell $(CONFIG_SHELL) -c "which $(HOSTMAKE)" || type -p $(HOSTMAKE) MAKE1:=$(HOSTMAKE) MAKE="$(firstword $(HOSTMAKE)) -j1" MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL) +# honor silent mode +ifeq (s,$(findstring s,$(MAKEFLAGS))) +MAKE1+= -s +MAKE+= -s +endif + ifeq ($(BR2_OPTIMIZE_0),y) TARGET_OPTIMIZATION=-O0 endif -- 2.30.2