Fix build issues when building on an ARM 64 platform

This patch arranges to have dpdk built with the
T=arm64-armv8a-linuxapp-gcc make option when building on
an ARM 64 platform.

Change-Id: I46d266af9171f02e78ed51cec8052c4f91304092
Signed-off-by: Barry Spinney <spinney@mellanox.com>
Reviewed-on: https://review.gerrithub.io/386708
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Barry Spinney 2017-11-10 21:57:27 +02:00 committed by Daniel Verkamp
parent 63bf022b93
commit 9f1fd30d5c

View File

@ -36,7 +36,11 @@ include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
.PHONY: all clean .PHONY: all clean
ifeq ($(TARGET_MACHINE),aarch64)
DPDK_CONFIG := arm64-armv8a
else
DPDK_CONFIG := spdk DPDK_CONFIG := spdk
endif
ifeq ($(OS),Linux) ifeq ($(OS),Linux)
DPDK_CONFIG := $(DPDK_CONFIG)-linuxapp DPDK_CONFIG := $(DPDK_CONFIG)-linuxapp