From patchwork Tue Dec 30 13:58:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 424636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 8285C14009B for ; Wed, 31 Dec 2014 00:58:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 678EC88040; Tue, 30 Dec 2014 13:58:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J82KzdoJN1r5; Tue, 30 Dec 2014 13:58:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7329E882EA; Tue, 30 Dec 2014 13:58:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A3D091C27E0 for ; Tue, 30 Dec 2014 13:58:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9F5AC882EA for ; Tue, 30 Dec 2014 13:58:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rfXgq-6HvrRf for ; Tue, 30 Dec 2014 13:58:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7FFDB86FD1 for ; Tue, 30 Dec 2014 13:58:46 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so20670561wgg.5 for ; Tue, 30 Dec 2014 05:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a0PpB2yT0nupDyKcr0FNGpD8A1pts7bOtmuGWi80TUw=; b=rmGS6SLmlBy4Gwr9vQHA+qYlbGYvGODE+z3AnWw8JbYZ1i+OgEAgxXWwvx1+WR5IdC 3p7HP8KU3XqWYde77kOyy4cdcqH+dOWgE6RtR5Ngwcs7ggj9S6df+BwKDZ917GYeVe9A PRVJJud1v8e/Upw2q7bA/JFhCRahiKALbi1sHCbgu9ItRuZ6PYi1uSE4akt8XbTkIM5O hOR2AyrRkcbYW+6Cyw721sHdWbmVdtHALFJ9SlY2qTZy/z35KpKA4xSuVwUWnJFZ+Ujt VNKiHAnnaBfvT1366KKMuJozaouQDdBS2PKfiVC49bKUh7JtYM1GsY3Fl4P2kvHgAUNn i7Cg== X-Received: by 10.194.63.169 with SMTP id h9mr98574927wjs.23.1419947925249; Tue, 30 Dec 2014 05:58:45 -0800 (PST) Received: from mobeast.localdomain (dynamic-adsl-84-221-153-137.clienti.tiscali.it. [84.221.153.137]) by mx.google.com with ESMTPSA id f1sm42720169wjw.30.2014.12.30.05.58.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Dec 2014 05:58:44 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 30 Dec 2014 14:58:37 +0100 Message-Id: <1419947920-22047-2-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1419947920-22047-1-git-send-email-fabio.porcedda@gmail.com> References: <1419947920-22047-1-git-send-email-fabio.porcedda@gmail.com> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH v7 1/4] Makefile: improve detection of make "-s" flag X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Because it's just checked the presence of the "s" character even a make --warn-undefined-variables is detected as a silent build so fix this by filtering out long options. Signed-off-by: Fabio Porcedda Cc: Arnout Vandecappelle Acked-by: "Yann E. MORIN" --- Notes: v6: - use QUIET instead of BR_QUIET v5: - remove spaces after commas (Yann) v4: - split this patch from the patch set to send to muster as bugfix v2: - remove spurious space at the beginning of the QUIET variable (Arnout) v4: - split this patch from the patch set to send to muster as bugfix v2: - remove spurious space at the beginning of the QUIET variable (Arnout) Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e18a87e..c033620 100644 --- a/Makefile +++ b/Makefile @@ -303,7 +303,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))