From b635c567d16cb942e9380bedd6cd9e59428da4eb Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 20 May 2016 12:56:41 -0400 Subject: 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 --- build-data/packages/dpdk.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build-data/packages') 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)) -- cgit 1.2.3-korg