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.

Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455915 (master)

(cherry picked from commit 4de4b78b28)
Change-Id: I6f28936f79558af24e20dc702a6f4e75c507043d
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457284
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
Darek Stojaczyk 2019-05-28 07:49:55 +02:00
parent a6c675733b
commit 59401ab51b

View File

@ -63,10 +63,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)
@ -78,9 +80,7 @@ install: all
$(Q)echo "Installed to $(DESTDIR)$(CONFIG_PREFIX)"
ifneq ($(SKIP_DPDK_BUILD),1)
ifeq ($(CONFIG_ISAL),y)
dpdkbuild: isalbuild
endif
dpdkbuild: $(DPDK_DEPS)
endif
shared_lib: lib