Makefile: honor silent (-s) flag
This commit is contained in:
parent
db8eecfcea
commit
ff1b7e871f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user