Commit e6ae2d27 authored by Jim Harris's avatar Jim Harris Committed by Ben Walker
Browse files

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: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I9c7cf5a4b5d99655d4d25a9a3afa2cbe82faa05d

Reviewed-on: https://review.gerrithub.io/c/441797


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 73d1df6d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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)