mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 06:53:32 +08:00
package/Makefile.in: propagate -s make flag to sub makes
This commit is contained in:
parent
926646d9ca
commit
607d0229ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user