From 4de4b78b281441cdc0ccfa4a9227b094b474b663 Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Tue, 28 May 2019 07:49:55 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455915 Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Tested-by: SPDK CI Jenkins --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d08ff07fe..3a92fdfb8 100644 --- a/Makefile +++ b/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