From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] mk: fix verbosity zero Date: Fri, 23 Sep 2016 01:42:47 +0200 Message-ID: <1474587767-20033-1-git-send-email-thomas.monjalon@6wind.com> References: <6873211.QDWnoOkD9j@xps13> Cc: Ferruh Yigit To: dev@dpdk.org Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 16D9C2BDC for ; Fri, 23 Sep 2016 01:43:06 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id l132so635333wmf.0 for ; Thu, 22 Sep 2016 16:43:06 -0700 (PDT) In-Reply-To: <6873211.QDWnoOkD9j@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Verbosity is considered enabled when $V is not empty. So V=0 and V=1 are equivalent. It is fixed by unsetting V when it is 0. A side effect is to fix kernel module compilation verbosity which is set to 0 when V is empty. Reported-by: Ferruh Yigit Signed-off-by: Thomas Monjalon --- mk/rte.sdkroot.mk | 3 +++ mk/rte.vars.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index 55a9d8a..04ad523 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -34,6 +34,9 @@ MAKEFLAGS += --no-print-directory # define Q to '@' or not. $(Q) is used to prefix all shell commands to # be executed silently. Q=@ +ifeq '$V' '0' +override V= +endif ifdef V ifeq ("$(origin V)", "command line") Q= diff --git a/mk/rte.vars.mk b/mk/rte.vars.mk index 28982a5..c240a0e 100644 --- a/mk/rte.vars.mk +++ b/mk/rte.vars.mk @@ -46,6 +46,9 @@ endif # define Q to '@' or not. $(Q) is used to prefix all shell commands to # be executed silently. Q=@ +ifeq '$V' '0' +override V= +endif ifdef V ifeq ("$(origin V)", "command line") Q= -- 2.7.0