From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: Re: [PATCH 6/7] mlx4: mute auto config in quiet mode Date: Tue, 3 Mar 2015 17:03:33 +0100 Message-ID: <20150303160332.GK23569@6wind.com> 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 Cc: dev-VfR2kkLFssw@public.gmane.org To: Thomas Monjalon Return-path: Content-Disposition: inline In-Reply-To: <1425396230-13379-7-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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