From: Peter Korsgaard Date: Sat, 31 May 2008 07:27:52 +0000 (-0000) Subject: Makefile: honor silent (-s) flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff1b7e871f8510d5b27b88678e601f8f351f5200;p=buildroot.git Makefile: honor silent (-s) flag --- 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