summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-07-01 13:30:26 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-07-01 13:30:26 +0000
commit607d0229ae09d470e120dc89b35cb9dce60f9876 (patch)
tree37441ecfbda8f1df906610425cb9e8061b57474f /package/Makefile.in
parent926646d9cab1bf66292eec51091d836f620b5e57 (diff)
downloadbuildroot-novena-607d0229ae09d470e120dc89b35cb9dce60f9876.tar.gz
buildroot-novena-607d0229ae09d470e120dc89b35cb9dce60f9876.zip
package/Makefile.in: propagate -s make flag to sub makes
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 7242c276a..c294b639b 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -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