From patchwork Tue Dec 30 11:41:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 424622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 459AC140119 for ; Tue, 30 Dec 2014 22:41:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 81AC22FF75; Tue, 30 Dec 2014 11:41:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h43iGlUvDoJZ; Tue, 30 Dec 2014 11:41:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 948022FC15; Tue, 30 Dec 2014 11:41:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 6EC541C1081 for ; Tue, 30 Dec 2014 11:41:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6B6F8852B1 for ; Tue, 30 Dec 2014 11:41:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wmwpwa+dNN-L for ; Tue, 30 Dec 2014 11:41:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by hemlock.osuosl.org (Postfix) with ESMTPS id 19636851E0 for ; Tue, 30 Dec 2014 11:41:14 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id x13so2706548wgg.40 for ; Tue, 30 Dec 2014 03:41:12 -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=4YabR3K4TyT5NqPFozo44nfCrq0mYWn0sqAMexByCG0=; b=bOYuLUEpt99odWU51I1MaySYlNKv5AaVtwrFggzdK0zh5RIM1SLyb2lmz642wwBR3b 2STb71ylKor46o4SghjyR6dEe6dr6tPCbJ03nKPg/vKElMR0MIcarV39WLDVUmlGhri1 CRLua2vkcv5ppK0RZB1tdihy2i9a/Y8vL2eJtj+qfF7Tu/z7nlgppfuRX6yA8xJFH8hL LNWanPWRevNoXOWaOKUSwrKzqnKp3CHenwFVgNPMjNoLhW0uIT21dW+NQLeUX8PBfBlm gE9e6ubIEYJ2/i6UnyZa+r7ZbEh9GdF0DXTxiCqC5smHhbgy5fWGIuB5erAixGMdFdmk lFDA== X-Received: by 10.194.94.1 with SMTP id cy1mr100155148wjb.127.1419939672793; Tue, 30 Dec 2014 03:41:12 -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 cs8sm43118763wib.1.2014.12.30.03.41.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Dec 2014 03:41:11 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 30 Dec 2014 12:41:05 +0100 Message-Id: <1419939667-27095-2-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1419939667-27095-1-git-send-email-fabio.porcedda@gmail.com> References: <1419939667-27095-1-git-send-email-fabio.porcedda@gmail.com> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH v6 1/3] 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 --- 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))