summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bbappend2
-rw-r--r--recipes-extended/dpdk/dpdk_17.02.bbappend27
2 files changed, 0 insertions, 29 deletions
diff --git a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bbappend b/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bbappend
deleted file mode 100644
index 9963b86..0000000
--- a/recipes-extended/dpdk-dev-libibverbs/dpdk-dev-libibverbs_1.2.1-3.4-2.0.0.0.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
1COMPATIBLE_MACHINE_inteld1521 = "inteld1521"
2COMPATIBLE_MACHINE_qemux86-64 = "qemux86-64"
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 @@
1COMPATIBLE_MACHINE_inteld1521 = "inteld1521"
2COMPATIBLE_MACHINE_qemux86-64 = "qemux86-64"
3
4# lspci - required by dpdk tools/scripts
5RDEPENDS_${PN} += "pciutils"
6
7export RTE_TARGET="${@bb.utils.contains("TUNE_FEATURES", "m64", "x86_64-native-linuxapp-gcc", "i686-native-linuxapp-gcc", d)}"
8export 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'
12export DPDK_TARGET_MACH = "${@get_dpdk_target(bb,d)}"
13
14def 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 ""