diff options
| author | Fabio Porcedda <fabio.porcedda@gmail.com> | 2015-01-01 21:03:50 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-02 16:34:15 +0100 |
| commit | fffb68a83fde238523d330fc8ada63580bbc46a8 (patch) | |
| tree | 9591566505a92b3e2744c4e4e63e6d4ceac10a9a | |
| parent | aa441aa84c38ad5319c4ff7fb27c84530e19c204 (diff) | |
| download | buildroot-fffb68a83fde238523d330fc8ada63580bbc46a8.tar.gz buildroot-fffb68a83fde238523d330fc8ada63580bbc46a8.zip | |
Makefile: improve detection of make "-s" flag
Because it's just checking the presence of the "s" character even a
make --warn-undefined-variables
is detected as a silent build.
Fix that by filtering out long options.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ GNU_HOST_NAME := $(shell support/gnuconfig/config.guess) TARGETS := # silent mode requested? -QUIET := $(if $(findstring s,$(MAKEFLAGS)),-q) +QUIET := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-q) # Strip off the annoying quoting ARCH := $(call qstrip,$(BR2_ARCH)) |

