package/Makefile.in: propagate -s make flag to sub makes
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Jul 2008 13:30:26 +0000 (13:30 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Jul 2008 13:30:26 +0000 (13:30 -0000)
package/Makefile.in

index 7242c276ae7518acfc58eae5c601e910db80520d..c294b639b71a3414d43f03033db7b0b4afc03e38 100644 (file)
@@ -6,15 +6,14 @@ HOSTMAKE=$(MAKE)
 endif
 HOSTMAKE :=$(shell $(CONFIG_SHELL) -c "which $(HOSTMAKE)" || type -p $(HOSTMAKE) || echo make)
 
-MAKE1:=$(HOSTMAKE) MAKE="$(firstword $(HOSTMAKE)) -j1"
-MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
-
 # honor silent mode
 ifeq (s,$(findstring s,$(MAKEFLAGS)))
-MAKE1+= -s
-MAKE+= -s
+MAKESILENT:=-s
 endif
 
+MAKE1:=$(HOSTMAKE) MAKE='$(firstword $(HOSTMAKE)) -j1 $(MAKESILENT)'
+MAKE:=$(HOSTMAKE) MAKE='$(firstword $(HOSTMAKE)) -j$(BR2_JLEVEL) $(MAKESILENT)'
+
 ifeq ($(BR2_OPTIMIZE_0),y)
 TARGET_OPTIMIZATION=-O0
 endif