Makefile: honor silent (-s) flag

This commit is contained in:
Peter Korsgaard 2008-05-31 07:27:52 +00:00
parent db8eecfcea
commit ff1b7e871f

View File

@ -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