Added a sub-case to take into Thunderx platform

Change-Id: Ib440414693af6fe29ffaf78fc3b2992911afbcc6
Signed-off-by: Marco <marco.varlese@suse.com>
This commit is contained in:
Marco
2017-01-10 13:53:31 +01:00
committed by Damjan Marion
parent 0f971d8c22
commit 6ebca6c0fa

View File

@@ -17,11 +17,18 @@ ifeq ($(shell uname -m),x86_64)
vpp_march = corei7 # Nehalem Instruction set
vpp_mtune = corei7-avx # Optimize for Sandy Bridge
vpp_dpdk_arch = corei7
else ifeq ($(shell uname -m),aarch64)
ifeq ($(TARGET_PLATFORM),thunderx)
vpp_march = armv8-a+crc
vpp_mtune = thunderx
vpp_dpdk_arch = armv8a
vpp_dpdk_target = arm64-thunderx-linuxapp-gcc
else
vpp_march = native
vpp_mtune = generic
vpp_dpdk_arch = native
endif
endif
vpp_native_tools = vppapigen
vpp_uses_dpdk = yes