build: quiet the ipsec build
Redirect stdout to /dev/null unless user specifies Q= on make command line. Note that stderr is not redirected so if something fails for some reason, user will still see the error messages. Same for make clean - redirect to /dev/null unless user specifies Q=. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I9c7cf5a4b5d99655d4d25a9a3afa2cbe82faa05d Reviewed-on: https://review.gerrithub.io/c/441797 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
73d1df6dd6
commit
e6ae2d272b
@ -36,10 +36,14 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||
|
||||
.PHONY: all clean install
|
||||
|
||||
ifneq ($(Q),)
|
||||
REDIRECT=> /dev/null
|
||||
endif
|
||||
|
||||
all:
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb -j$(NPROC) all SHARED=n EXTRA_CFLAGS=-fPIC
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb -j$(NPROC) all SHARED=n EXTRA_CFLAGS=-fPIC $(REDIRECT)
|
||||
|
||||
install: all
|
||||
|
||||
clean:
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb clean SHARED=n
|
||||
$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb clean SHARED=n $(REDIRECT)
|
||||
|
Loading…
Reference in New Issue
Block a user