From: Bin Huang Date: Thu, 24 May 2018 08:43:19 +0000 (+0800) Subject: Fix VPP DPDK build failure with Mellanox NIC on aarch64 X-Git-Tag: v18.07-rc1~292 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=096e6be4bda3b409aa6fc400d0ce507ea415f26b;p=vpp.git Fix VPP DPDK build failure with Mellanox NIC on aarch64 This compile issue was first reported by Sirshak Das in following thread: https://lists.fd.io/g/vpp-dev/message/8384 The issue was caused by auto-config shell script auto-config-h.sh regard quotation mark "" as $CROSS prefix for $CC when CROSS is empty. Change-Id: Ied535c6d18c4dffacbddabc3ad2087dffe19438d Signed-off-by: Bin Huang --- diff --git a/dpdk/Makefile b/dpdk/Makefile index ebe62bb5a23..17a229cb859 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -80,7 +80,8 @@ DPDK_TUNE ?= core-avx2 # ARM64 ############################################################################## else ifeq ($(MACHINE),aarch64) -export CROSS="" +CROSS := +export CROSS DPDK_TARGET ?= arm64-armv8a-linuxapp-$(DPDK_CC) DPDK_MACHINE ?= armv8a DPDK_TUNE ?= generic