aboutsummaryrefslogtreecommitdiffstats
path: root/build-data/packages/vpp-api-test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-data/packages/vpp-api-test.mk')
-rw-r--r--build-data/packages/vpp-api-test.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/build-data/packages/vpp-api-test.mk b/build-data/packages/vpp-api-test.mk
index 6ad70bc5..e26c2e76 100644
--- a/build-data/packages/vpp-api-test.mk
+++ b/build-data/packages/vpp-api-test.mk
@@ -1,18 +1,13 @@
vpp-api-test_configure_depend = \
vppinfra-install \
- dpdk-install \
svm-install \
vlib-api-install \
vlib-install \
vnet-install \
vpp-install
-#
-vpp-api-test_configure_args = --with-dpdk
-
vpp-api-test_CPPFLAGS = $(call installed_includes_fn, \
vppinfra \
- dpdk \
svm \
vlib \
vlib-api \
@@ -21,10 +16,15 @@ vpp-api-test_CPPFLAGS = $(call installed_includes_fn, \
vpp-api-test_LDFLAGS = $(call installed_libs_fn, \
vppinfra \
- dpdk \
svm \
vlib \
vlib-api \
vnet \
vpp)
+ifneq ($($(PLATFORM)_uses_dpdk),no)
+vpp-api-test_configure_args = --with-dpdk
+vpp-api-test_configure_depend += dpdk-install
+vpp-api-test_CPPFLAGS += $(call installed_includes_fn, dpdk)
+vpp-api-test_LDFLAGS += $(call installed_libs_fn, dpdk)
+endif