diff options
author | Martin Borg <martin.borg@enea.com> | 2017-08-24 15:49:56 +0200 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2017-08-24 15:50:37 +0200 |
commit | 6d88d7a31b77a965552e33e62cec1598e05dc205 (patch) | |
tree | 90c541ff301e804ca09fc7810356e354b401a635 /recipes-extended/dpdk/dpdk_17.02.bbappend | |
parent | a82616a1d95bcc6bbac036570d2b61b90b0a9d63 (diff) | |
parent | 7a572a7ca2299f67237f870007fe4e547468c3fe (diff) | |
download | meta-enea-bsp-x86-6d88d7a31b77a965552e33e62cec1598e05dc205.tar.gz |
Merge branch 'octeontx-bsp' into pyro
Signed-off-by: Martin Borg <martin.borg@enea.com>
Diffstat (limited to 'recipes-extended/dpdk/dpdk_17.02.bbappend')
-rw-r--r-- | recipes-extended/dpdk/dpdk_17.02.bbappend | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-extended/dpdk/dpdk_17.02.bbappend b/recipes-extended/dpdk/dpdk_17.02.bbappend deleted file mode 100644 index ca155d0..0000000 --- a/recipes-extended/dpdk/dpdk_17.02.bbappend +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | COMPATIBLE_MACHINE_inteld1521 = "inteld1521" | ||
2 | COMPATIBLE_MACHINE_qemux86-64 = "qemux86-64" | ||
3 | |||
4 | # lspci - required by dpdk tools/scripts | ||
5 | RDEPENDS_${PN} += "pciutils" | ||
6 | |||
7 | export RTE_TARGET="${@bb.utils.contains("TUNE_FEATURES", "m64", "x86_64-native-linuxapp-gcc", "i686-native-linuxapp-gcc", d)}" | ||
8 | export ETHTOOL_LIB_PATH = "${S}/examples/ethtool/lib/${RTE_TARGET}/lib/" | ||
9 | |||
10 | # Overrides the default value set to DPDK_TARGET_MACH in dpdk.inc, | ||
11 | # with the purpose adding 'inteld1521' to 'multiarch_options' | ||
12 | export DPDK_TARGET_MACH = "${@get_dpdk_target(bb,d)}" | ||
13 | |||
14 | def get_dpdk_target(bb, d): | ||
15 | target_arch = d.getVar('MACHINE_ARCH', True) | ||
16 | multiarch_options = { | ||
17 | "mohonpeak64":"atm", | ||
18 | "mohonpeak32":"atm", | ||
19 | "crystalforest": "ivb", | ||
20 | "intel_corei7_64": "hsw", | ||
21 | "inteld1521": "hsw", | ||
22 | "qemux86_64": "default", | ||
23 | } | ||
24 | |||
25 | if target_arch in multiarch_options : | ||
26 | return multiarch_options[target_arch] | ||
27 | return "" | ||