summaryrefslogtreecommitdiffstats
path: root/build-data/packages/dpdk.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/packages/dpdk.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/packages/dpdk.mk')
-rw-r--r--build-data/packages/dpdk.mk12
1 files changed, 0 insertions, 12 deletions
diff --git a/build-data/packages/dpdk.mk b/build-data/packages/dpdk.mk
index 6938392c04c..ed89bb1b7b2 100644
--- a/build-data/packages/dpdk.mk
+++ b/build-data/packages/dpdk.mk
@@ -1,14 +1,4 @@
-DPDK_MARCH = $(strip $($(PLATFORM)_dpdk_arch))
-ifeq ($(DPDK_MARCH),)
- DPDK_MARCH="native"
-endif
-
-DPDK_TUNE = $(strip $($(PLATFORM)_mtune))
-ifeq ($(DPDK_TUNE),)
- DPDK_TUNE="generic"
-endif
-
ifneq (,$(findstring debug,$(TAG)))
DPDK_DEBUG=y
else
@@ -18,8 +8,6 @@ endif
DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \
DPDK_BUILD_DIR=$(PACKAGE_BUILD_DIR) \
DPDK_INSTALL_DIR=$(PACKAGE_INSTALL_DIR) \
- DPDK_MARCH=$(DPDK_MARCH) \
- DPDK_TUNE=$(DPDK_TUNE) \
DPDK_DEBUG=$(DPDK_DEBUG)
DPDK_CRYPTO_SW_PMD=$(strip $($(PLATFORM)_uses_dpdk_cryptodev_sw))