Makefile: honor silent (-s) flag
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 31 May 2008 07:27:52 +0000 (07:27 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 31 May 2008 07:27:52 +0000 (07:27 -0000)
package/Makefile.in

index ad8280db8799afdd976c2d1583d26f37c0069167..d6f6047c0cf781b326e7d17e2d98324a3b3f92c7 100644 (file)
@@ -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