From patchwork Tue Jun 23 21:36:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Marie?= X-Patchwork-Id: 487774 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 76C5B140306 for ; Wed, 24 Jun 2015 07:36:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=openmailbox.org header.i=@openmailbox.org header.b=jceyrnb9; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B1B53A1BCE; Tue, 23 Jun 2015 21:36:28 +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 FPiIXTR4NYAz; Tue, 23 Jun 2015 21:36:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 871A7881E1; Tue, 23 Jun 2015 21:36:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6F02F1BFA96 for ; Tue, 23 Jun 2015 21:36:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6AB688C2FB for ; Tue, 23 Jun 2015 21:36:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CVqubwyoK+on for ; Tue, 23 Jun 2015 21:36:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp27.openmailbox.org (smtp27.openmailbox.org [62.4.1.61]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1273E8C2A2 for ; Tue, 23 Jun 2015 21:36:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id 8B6F82E0203 for ; Tue, 23 Jun 2015 23:36:21 +0200 (CEST) Authentication-Results: mail.openmailbox.org (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=openmailbox.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received; s=openmailbox; t=1435095379; bh=AcVrWvv6UrW1DmfS iFuca5ewFViyHA7MWWuo5rp6apA=; b=jceyrnb99pzeOiBOoak0VcYp0dcZT2bJ pXgmlTqirw9b+JE9jzwD0CTHShCEJgoTnV3XVKWBgbnRXun0SuyLlVc+gN7WYVWJ DkXiyELjNNCD967yhSKkbFpwyu6fiSfKvlZiusLBc/Ggutp1zIve2KLPdPIWwYBZ kkIFsVVbo4I= X-Virus-Scanned: amavisd-new at openmailbox.org Received: from mail.openmailbox.org ([62.4.1.34]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id O840uRfoCXGl; Tue, 23 Jun 2015 23:36:19 +0200 (CEST) From: =?UTF-8?q?C=C3=A9dric=20Marie?= To: buildroot@busybox.net Date: Tue, 23 Jun 2015 23:36:06 +0200 Message-Id: <1435095367-4223-1-git-send-email-cedric.marie@openmailbox.org> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: =?UTF-8?q?C=C3=A9dric=20Marie?= Subject: [Buildroot] [PATCH] Don't export VERBOSE unless V=1 (for CMake) 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" CMake verbose mode is based on VERBOSE environment variable. * If VERBOSE is exported but empty, only "Dependee ... is newer than depender ..." messages are shown. * If VERBOSE is exported and set (whatever the value), all compilation commands are shown. VERBOSE is currently systematically exported by Buildroot, even if it is empty, in the root Makefile, which implies that the "light" verbose mode - with "Dependee ... is newer than depender ..." messages - is always enabled. VERBOSE should only be exported when V=1, which is the standard way to enable verbose mode in Buildroot. Signed-off-by: Cédric Marie Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3f80c4..8eb21d4 100644 --- a/Makefile +++ b/Makefile @@ -215,6 +215,7 @@ ifeq ($(KBUILD_VERBOSE),1) ifndef VERBOSE VERBOSE = 1 endif +export VERBOSE else quiet = quiet_ Q = @ @@ -228,7 +229,7 @@ SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ # kconfig uses CONFIG_SHELL CONFIG_SHELL := $(SHELL) -export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE VERBOSE +export SHELL CONFIG_SHELL quiet Q KBUILD_VERBOSE ifndef HOSTAR HOSTAR := ar