[dpdk-stable] [PATCH 2/4] config/arm: fix missing define for arm platforms
Bruce Richardson
bruce.richardson at intel.com
Wed May 29 17:41:30 CEST 2019
The RTE_ARCH macro was defined for all platforms when using make, but was
only defined for x86 and ppc platforms when using meson. Fix this omission.
Fixes: b1d48c41189a ("build: support ARM with meson")
Cc: stable at dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
config/arm/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 7fa6ed310..a4eb1fc50 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -113,6 +113,7 @@ dpdk_conf.set('RTE_FORCE_INTRINSICS', 1)
if not dpdk_conf.get('RTE_ARCH_64')
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
+ dpdk_conf.set_quoted('RTE_ARCH', 'arm')
dpdk_conf.set('RTE_ARCH_ARM', 1)
dpdk_conf.set('RTE_ARCH_ARMv7', 1)
# the minimum architecture supported, armv7-a, needs the following,
@@ -120,6 +121,7 @@ if not dpdk_conf.get('RTE_ARCH_64')
machine_args += '-mfpu=neon'
else
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
+ dpdk_conf.set_quoted('RTE_ARCH', 'arm64')
dpdk_conf.set('RTE_ARCH_ARM64', 1)
machine = []
--
2.21.0
More information about the stable
mailing list