summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>2018-01-22 20:56:30 +0530
committerBruce Richardson <bruce.richardson@intel.com>2018-01-30 21:59:00 +0100
commit200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928 (patch)
tree5936feb097c2c3e082b4449b782f33cd11cfcf3e /meson.build
parentb1d48c41189aa8f996db0cf3370abc90402a9984 (diff)
downloaddpdk-200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928.zip
dpdk-200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928.tar.gz
dpdk-200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928.tar.xz
build: detect micro-arch on ARM
Added support for detecting march and mcpu by reading midr_el1 register. The implementer, primary part number values read can be used to figure out the underlying arm cpu. Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0ab47b6..0d99313 100644
--- a/meson.build
+++ b/meson.build
@@ -66,5 +66,5 @@ pkg.generate(name: meson.project_name(),
['-Wl,-Bdynamic'] + dpdk_extra_ldflags,
description: 'The Data Plane Development Kit (DPDK)',
subdirs: [get_option('include_subdir_arch'), '.'],
- extra_cflags: ['-include', 'rte_config.h', machine_arg]
+ extra_cflags: ['-include', 'rte_config.h'] + machine_args
)