build: make dpdk depend on ipsec

DPDK 19.05+ can build a single test app with -lIPSec_MB,
so we need to make sure ipsec is built beforehand.

Change-Id: I6f28936f79558af24e20dc702a6f4e75c507043d
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455915
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Darek Stojaczyk 2019-05-28 07:49:55 +02:00 committed by Jim Harris
parent 9399b20431
commit 4de4b78b28

View File

@ -64,10 +64,12 @@ endif
ifeq ($(CONFIG_IPSEC_MB),y) ifeq ($(CONFIG_IPSEC_MB),y)
LIB += ipsecbuild LIB += ipsecbuild
DPDK_DEPS += ipsecbuild
endif endif
ifeq ($(CONFIG_ISAL),y) ifeq ($(CONFIG_ISAL),y)
LIB += isalbuild LIB += isalbuild
DPDK_DEPS += isalbuild
endif endif
all: $(DIRS-y) all: $(DIRS-y)
@ -82,9 +84,7 @@ uninstall: $(DIRS-y)
$(Q)echo "Uninstalled spdk" $(Q)echo "Uninstalled spdk"
ifneq ($(SKIP_DPDK_BUILD),1) ifneq ($(SKIP_DPDK_BUILD),1)
ifeq ($(CONFIG_ISAL),y) dpdkbuild: $(DPDK_DEPS)
dpdkbuild: isalbuild
endif
endif endif
shared_lib: lib shared_lib: lib