Invert matching logic for *_uses_dpdk in build-data/packages/*.mk
Change-Id: If07a74afd92196c035d720cedaac36493a09e400
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/build-data/packages/vlib.mk b/build-data/packages/vlib.mk
index 8b72b60..9c36128 100644
--- a/build-data/packages/vlib.mk
+++ b/build-data/packages/vlib.mk
@@ -3,7 +3,7 @@
vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra)
vlib_LDFLAGS = $(call installed_libs_fn, vppinfra)
-ifeq ($($(PLATFORM)_uses_dpdk),yes)
+ifneq ($($(PLATFORM)_uses_dpdk),no)
vlib_configure_depend += dpdk-install
vlib_configure_args += --with-dpdk
vlib_CPPFLAGS += $(call installed_includes_fn, dpdk)
diff --git a/build-data/packages/vnet.mk b/build-data/packages/vnet.mk
index ca3523c..0486b4e 100644
--- a/build-data/packages/vnet.mk
+++ b/build-data/packages/vnet.mk
@@ -21,7 +21,7 @@
# Platform dependent configure flags
vnet_configure_args += $(vnet_configure_args_$(PLATFORM))
-ifeq ($($(PLATFORM)_uses_dpdk),yes)
+ifneq ($($(PLATFORM)_uses_dpdk),no)
vnet_configure_depend += dpdk-install
vnet_CPPFLAGS += $(call installed_includes_fn, dpdk)
vnet_LDFLAGS += $(call installed_libs_fn, dpdk)
diff --git a/build-data/packages/vpp.mk b/build-data/packages/vpp.mk
index 54aa548..9ccf690 100644
--- a/build-data/packages/vpp.mk
+++ b/build-data/packages/vpp.mk
@@ -28,7 +28,7 @@
vlib-api \
vnet)
-ifeq ($($(PLATFORM)_uses_dpdk),yes)
+ifneq ($($(PLATFORM)_uses_dpdk),no)
vpp_configure_depend += dpdk-install
vpp_CPPFLAGS += $(call installed_includes_fn, dpdk)
vpp_LDFLAGS += $(call installed_libs_fn, dpdk)