summaryrefslogtreecommitdiffstats
path: root/build-data/packages/dpdk.mk
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-05-20 12:56:41 -0400
committerDamjan Marion <damarion@cisco.com>2016-05-20 17:46:12 +0000
commitb635c567d16cb942e9380bedd6cd9e59428da4eb (patch)
tree42661115459b497a8f496432e6d1fdd555026b77 /build-data/packages/dpdk.mk
parentd686c632d1b1d9a993e53df941fd9696035e91a7 (diff)
VPP-79: fix cross-compilation build break
.../packages/dpdk.mk must not set $(TARGET). The Makefile fragment really only needed to use a temporary variable to control the dpdk Makefile. Simple fix: set $(DPDK_PLATFORM_TARGET) instead. Change-Id: Ieb61b603bc36ed708a1b1237dc6bc503e90a0b7b Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-data/packages/dpdk.mk')
-rw-r--r--build-data/packages/dpdk.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-data/packages/dpdk.mk b/build-data/packages/dpdk.mk
index 0a4c1610026..f38b82bfcd6 100644
--- a/build-data/packages/dpdk.mk
+++ b/build-data/packages/dpdk.mk
@@ -23,9 +23,9 @@ DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \
DPDK_DEBUG=$(DPDK_DEBUG)
-TARGET=$(strip $($(PLATFORM)_dpdk_target))
-ifneq ($(TARGET),)
-DPDK_MAKE_ARGS += DPDK_TARGET=$(TARGET)
+DPDK_PLATFORM_TARGET=$(strip $($(PLATFORM)_dpdk_target))
+ifneq ($(DPDK_PLATFORM_TARGET),)
+DPDK_MAKE_ARGS += DPDK_TARGET=$(DPDK_PLATFORM_TARGET)
endif
DPDK_MAKE_EXTRA_ARGS = $(strip $($(PLATFORM)_dpdk_make_extra_args))