summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco <marco.varlese@suse.com>2017-01-10 13:53:31 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-10 15:53:50 +0000
commit6ebca6c0fa94c8da7f145251a862435978b26ea7 (patch)
tree9cd2eee6a0584c1ecb716e445fd9d159b5fbfbf8
parent0f971d8c22adf89d3f8592ac0d207727f2b1a23a (diff)
Added a sub-case to take into Thunderx platform
Change-Id: Ib440414693af6fe29ffaf78fc3b2992911afbcc6 Signed-off-by: Marco <marco.varlese@suse.com>
-rw-r--r--build-data/platforms/vpp.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index c9a214acc3a..dd6f9dc2612 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -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