summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:27:52 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-05-31 07:27:52 +0000
commitff1b7e871f8510d5b27b88678e601f8f351f5200 (patch)
treeedf41bb15719517c1b10f9fa921c723ae3411bb0
parentdb8eecfceace15ba015f602b2a9b35482fbc875e (diff)
downloadbuildroot-novena-ff1b7e871f8510d5b27b88678e601f8f351f5200.tar.gz
buildroot-novena-ff1b7e871f8510d5b27b88678e601f8f351f5200.zip
Makefile: honor silent (-s) flag
-rw-r--r--package/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index ad8280db8..d6f6047c0 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