From: Thomas Monjalon Date: Tue, 3 Mar 2015 11:29:45 +0000 (+0100) Subject: mlx4: mute auto config in quiet mode X-Git-Tag: spdx-start~9503 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a91d686358c3fab7f3fc671d9bd9f4ce46fdc665;p=dpdk.git mlx4: mute auto config in quiet mode If verbose is off, auto-config-h.sh script should be quiet. Signed-off-by: Thomas Monjalon Acked-by: Adrien Mazarguil --- diff --git a/lib/librte_pmd_mlx4/Makefile b/lib/librte_pmd_mlx4/Makefile index de50a5a8b0..6666813134 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