aboutsummaryrefslogtreecommitdiffstats
path: root/build-data/platforms/vpp.mk
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-02-06 22:28:52 +0100
committerDave Barach <openvpp@barachs.net>2017-02-07 20:24:49 +0000
commit78edb8e722fe2bb72ba7f8e63b420733c7fb51c6 (patch)
treeff7f673ac15c80a42726810d1d4e4c41b0bfd508 /build-data/platforms/vpp.mk
parent6fa5568fc4b8de0e12a2907de8e1884e984a3520 (diff)
Multiple platofrm support for dpdk/Makefile, fix optimizations
Using -march=native was causing SIGILLs on Atoms. Change-Id: I98c7fdaa139e3db70c972950dc9c167bf5803656 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-data/platforms/vpp.mk')
-rw-r--r--build-data/platforms/vpp.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index ee30763986f..401a383ad92 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -16,17 +16,14 @@ vpp_arch = native
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