Commit 9fccc84f authored by Jim Harris's avatar Jim Harris
Browse files

build: add SKIP_DPDK_BUILD option



DPDK can take a long time to build - even when nothing
in DPDK has changed.  So for users who are using SPDK's
DPDK submodule, add a SKIP_DPDK_BUILD option.  When
this is set to 1, the build will skip building the
DPDK submodule if it is being used.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: Ib48238fe607276fb69e495f8b7318e5b82754276

Reviewed-on: https://review.gerrithub.io/398849


Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatar <shuhei.matsumoto.xt@hitachi.com>
parent d13c94b9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,9 +41,11 @@ DIRS-y += lib test examples app include
.PHONY: all clean $(DIRS-y) config.h CONFIG.local mk/cc.mk

ifeq ($(CURDIR)/dpdk/build,$(CONFIG_DPDK_DIR))
ifneq ($(SKIP_DPDK_BUILD),1)
DPDKBUILD = dpdkbuild
DIRS-y += dpdkbuild
endif
endif

all: $(DIRS-y)
clean: $(DIRS-y)