diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-10-15 12:02:01 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 12:02:01 -0300 |
commit | 9d05232d9a12a52d17039003f8d4b23ac001d378 (patch) | |
tree | 9eea3870c4a5af37b4b7613517008d050bda0738 /recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch | |
parent | 2cdfab64a588c7570fe87c0fc3d05f061f2b692c (diff) | |
parent | 93d26c3d784f38b5629f31eb08ae7169c44ccb31 (diff) | |
download | meta-freescale-9d05232d9a12a52d17039003f8d4b23ac001d378.tar.gz |
Merge pull request #888 from ting-liu/master
updates for Layerscape machines
Diffstat (limited to 'recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch')
-rw-r--r-- | recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch b/recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch new file mode 100644 index 00000000..bef1f45b --- /dev/null +++ b/recipes-extended/dpdk/dpdk-20.11/0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From cf8f15824dc2dd306d9c7e111641bef045d623c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
3 | Date: Wed, 14 Apr 2021 16:03:10 +0800 | ||
4 | Subject: [PATCH] meson.build:-march and -mcpu already passed by Yocto | ||
5 | |||
6 | Upstream-Status: Inappropriate | ||
7 | |||
8 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
9 | --- | ||
10 | config/meson.build | 12 ++++++------ | ||
11 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
12 | |||
13 | diff --git a/config/meson.build b/config/meson.build | ||
14 | index 2f150de3b8..41bb3e9ec4 100644 | ||
15 | --- a/config/meson.build | ||
16 | +++ b/config/meson.build | ||
17 | @@ -94,12 +94,12 @@ dpdk_conf.set('RTE_MACHINE', machine) | ||
18 | machine_args = [] | ||
19 | |||
20 | # ppc64 does not support -march= at all, use -mcpu and -mtune for that | ||
21 | -if host_machine.cpu_family().startswith('ppc') | ||
22 | - machine_args += '-mcpu=' + machine | ||
23 | - machine_args += '-mtune=' + machine | ||
24 | -else | ||
25 | - machine_args += '-march=' + machine | ||
26 | -endif | ||
27 | +#if host_machine.cpu_family().startswith('ppc') | ||
28 | +# machine_args += '-mcpu=' + machine | ||
29 | +# machine_args += '-mtune=' + machine | ||
30 | +#else | ||
31 | +# machine_args += '-march=' + machine | ||
32 | +#endif | ||
33 | |||
34 | toolchain = cc.get_id() | ||
35 | dpdk_conf.set_quoted('RTE_TOOLCHAIN', toolchain) | ||
36 | -- | ||
37 | 2.17.1 | ||
38 | |||