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:
parent
9399b20431
commit
4de4b78b28
6
Makefile
6
Makefile
@ -64,10 +64,12 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_IPSEC_MB),y)
|
||||
LIB += ipsecbuild
|
||||
DPDK_DEPS += ipsecbuild
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ISAL),y)
|
||||
LIB += isalbuild
|
||||
DPDK_DEPS += isalbuild
|
||||
endif
|
||||
|
||||
all: $(DIRS-y)
|
||||
@ -82,9 +84,7 @@ uninstall: $(DIRS-y)
|
||||
$(Q)echo "Uninstalled spdk"
|
||||
|
||||
ifneq ($(SKIP_DPDK_BUILD),1)
|
||||
ifeq ($(CONFIG_ISAL),y)
|
||||
dpdkbuild: isalbuild
|
||||
endif
|
||||
dpdkbuild: $(DPDK_DEPS)
|
||||
endif
|
||||
|
||||
shared_lib: lib
|
||||
|
Loading…
Reference in New Issue
Block a user