package/Makefile.in: propagate -s make flag to sub makes

This commit is contained in:
Peter Korsgaard 2008-07-01 13:30:26 +00:00
parent 926646d9ca
commit 607d0229ae

View 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