diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-05-07 16:45:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-05-07 16:45:00 +0000 |
commit | 31a3a503ccf0ff54a3250aeec911f9188204e814 (patch) | |
tree | 03dbb3127cff17b1a6c6bfc19fdf982ce0992fa8 /include/verbose.mk | |
parent | 4a2ab2e0d424225461f78798fd12ddd37a49334e (diff) | |
download | upstream-31a3a503ccf0ff54a3250aeec911f9188204e814.tar.gz upstream-31a3a503ccf0ff54a3250aeec911f9188204e814.tar.bz2 upstream-31a3a503ccf0ff54a3250aeec911f9188204e814.zip |
add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
SVN-Revision: 11059
Diffstat (limited to 'include/verbose.mk')
-rw-r--r-- | include/verbose.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/verbose.mk b/include/verbose.mk index 36e59904ec..fed83d6fb6 100644 --- a/include/verbose.mk +++ b/include/verbose.mk @@ -25,11 +25,11 @@ ifeq ($(IS_TTY),1) _N:=\\033[m endif -define MESSAGE +ifneq ($(KBUILD_VERBOSE),99) + define MESSAGE printf "$(_Y)%s$(_N)\n" "$(1)" >&3 -endef + endef -ifneq ($(KBUILD_VERBOSE),99) ifeq ($(QUIET),1) ifneq ($(CURDIR),$(TOPDIR)) _DIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR}) @@ -48,4 +48,8 @@ ifneq ($(KBUILD_VERBOSE),99) endif .SILENT: $(MAKECMDGOALS) +else + define MESSAGE + printf "%s\n" "$(1)" + endef endif |