From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 23DB85A73 for ; Tue, 3 Mar 2015 17:03:34 +0100 (CET) Received: by wgha1 with SMTP id a1so40965759wgh.12 for ; Tue, 03 Mar 2015 08:03:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to; bh=5swyEkwKQv7SL4pIo4pVoVuYfW0hdpILpUVQxiUhuzI=; b=O1VK99Ak+W8FowDFXfqII9XYRDodIkQfxLfn0YQyAfBUtbm+RuxZ/mRyLG/cRIaFiD NtuinWDI5+KRtRWUIjFMfv73JsjKiZVfDIF1B3lGd5u0eXkH3aRLWhZqv0Sq0LpV9wga KTEUCAwZntEM1SQkqyPoiTOeALuJzmcHiFQQU5gOT+ApBEDTOeEfoHtaxYWwfb4E8ynn RF42d8uQ6SO1cNz4hxJ1mbYpw3atCw7TdVGCyOoanQP8g/GffuqNGQ14Mu3+S2MmvjP4 znT5KovahuyBAQchLgZ5oa3RoIy1gBMXd+Mke9t8hq51Ua7XPXDRq+cqRtao2dDAE5sd 8HTQ== X-Gm-Message-State: ALoCoQkbr0xGbJ+1G9hyQE0zCnhchMQgApuFMUzl24RvXwDSsUj1hVXkVgVJ3lTqOUJDMkCBjuox X-Received: by 10.194.185.68 with SMTP id fa4mr68932810wjc.111.1425398613902; Tue, 03 Mar 2015 08:03:33 -0800 (PST) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id l4sm21152267wiw.9.2015.03.03.08.03.32 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 03 Mar 2015 08:03:33 -0800 (PST) Date: Tue, 3 Mar 2015 17:03:33 +0100 From: Adrien Mazarguil To: Thomas Monjalon Message-ID: <20150303160332.GK23569@6wind.com> Mail-Followup-To: Thomas Monjalon , dev@dpdk.org References: <1425396230-13379-1-git-send-email-thomas.monjalon@6wind.com> <1425396230-13379-7-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425396230-13379-7-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 6/7] mlx4: mute auto config in quiet mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 16:03:34 -0000 On Tue, Mar 03, 2015 at 04:23:49PM +0100, Thomas Monjalon wrote: > If verbose is off, auto-config-h.sh script should be quiet. > > Signed-off-by: Thomas Monjalon > --- > lib/librte_pmd_mlx4/Makefile | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/lib/librte_pmd_mlx4/Makefile b/lib/librte_pmd_mlx4/Makefile > index de50a5a..6666813 100644 > --- a/lib/librte_pmd_mlx4/Makefile > +++ b/lib/librte_pmd_mlx4/Makefile > @@ -98,20 +98,24 @@ include $(RTE_SDK)/mk/rte.lib.mk > export CC CFLAGS CPPFLAGS EXTRA_CFLAGS EXTRA_CPPFLAGS > export AUTO_CONFIG_CFLAGS = -Wno-error > > +ifndef V > +AUTOCONF_OUTPUT := >/dev/null > +endif > + > mlx4_autoconf.h: $(RTE_SDK)/scripts/auto-config-h.sh > $Q $(RM) -f -- '$@' > $Q sh -- '$<' '$@' \ > RSS_SUPPORT \ > infiniband/verbs.h \ > - enum IBV_EXP_DEVICE_UD_RSS > + enum IBV_EXP_DEVICE_UD_RSS $(AUTOCONF_OUTPUT) > $Q sh -- '$<' '$@' \ > INLINE_RECV \ > infiniband/verbs.h \ > - enum IBV_EXP_DEVICE_ATTR_INLINE_RECV_SZ > + enum IBV_EXP_DEVICE_ATTR_INLINE_RECV_SZ $(AUTOCONF_OUTPUT) > $Q sh -- '$<' '$@' \ > SEND_RAW_WR_SUPPORT \ > infiniband/verbs.h \ > - type 'struct ibv_send_wr_raw' > + type 'struct ibv_send_wr_raw' $(AUTOCONF_OUTPUT) > > mlx4.o: mlx4_autoconf.h > > -- > 2.2.2 Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND