summaryrefslogtreecommitdiff
path: root/examples/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 /examples/meson.build
parentb1d48c41189aa8f996db0cf3370abc90402a9984 (diff)
downloaddpdk-draft-windows-200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928.zip
dpdk-draft-windows-200b88cbe0e6f3efd5edf81f8bfc4ace2bb17928.tar.gz
dpdk-draft-windows-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 'examples/meson.build')
-rw-r--r--examples/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/meson.build b/examples/meson.build
index cef48fa..5658fbe 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -10,7 +10,7 @@ foreach example: get_option('examples').split(',')
name = example
sources = []
allow_experimental_apis = false
- cflags = [machine_arg]
+ cflags = machine_args
ext_deps = []
includes = [include_directories(example)]
deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']