diff options
Diffstat (limited to 'meta-dpdk/recipes-extended/dpdk/dpdk_22.11.0.bb')
-rw-r--r-- | meta-dpdk/recipes-extended/dpdk/dpdk_22.11.0.bb | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/meta-dpdk/recipes-extended/dpdk/dpdk_22.11.0.bb b/meta-dpdk/recipes-extended/dpdk/dpdk_22.11.0.bb deleted file mode 100644 index abce8d16..00000000 --- a/meta-dpdk/recipes-extended/dpdk/dpdk_22.11.0.bb +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | include dpdk.inc | ||
2 | |||
3 | SRC_URI = "git://github.com/Xilinx-CNS/cns-dpdk-next-sfc.git;branch=${BRANCH};protocol=https" | ||
4 | |||
5 | BRANCH = "cdx_22.11" | ||
6 | SRCREV = "92339d519b50996915e7dbb5b8246b34febcba93" | ||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | # kernel module is provide by dpdk-module recipe, so disable here | ||
10 | EXTRA_OEMESON = " \ | ||
11 | -Denable_kmods=false \ | ||
12 | -Dexamples=cdma_demo,cdx_test \ | ||
13 | " | ||
14 | |||
15 | COMPATIBLE_MACHINE = "null" | ||
16 | COMPATIBLE_MACHINE:versal-net = "${MACHINE}" | ||
17 | COMPATIBLE_HOST:libc-musl:class-target = "null" | ||
18 | COMPATIBLE_HOST:linux-gnux32 = "null" | ||
19 | |||
20 | PACKAGECONFIG ??= " " | ||
21 | PACKAGECONFIG[afxdp] = ",,libbpf xdp-tools" | ||
22 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
23 | |||
24 | RDEPENDS:${PN} += "pciutils python3-core" | ||
25 | RDEPENDS:${PN}-examples += "bash" | ||
26 | DEPENDS = "numactl python3-pyelftools-native" | ||
27 | |||
28 | inherit meson pkgconfig | ||
29 | |||
30 | INSTALL_PATH = "${prefix}/share/dpdk" | ||
31 | |||
32 | do_write_config:append(){ | ||
33 | sed -i "/\[properties\]/a platform = \'cdx\'" ${WORKDIR}/meson.cross | ||
34 | } | ||
35 | |||
36 | do_install:append(){ | ||
37 | # remove source files | ||
38 | rm -rf ${D}/${INSTALL_PATH}/examples/* | ||
39 | |||
40 | # Install examples | ||
41 | install -m 0755 -d ${D}/${INSTALL_PATH}/examples/ | ||
42 | for dirname in ${B}/examples/dpdk-* | ||
43 | do | ||
44 | if [ ! -d ${dirname} ] && [ -x ${dirname} ]; then | ||
45 | install -m 0755 ${dirname} ${D}/${INSTALL_PATH}/examples/ | ||
46 | fi | ||
47 | done | ||
48 | |||
49 | } | ||
50 | |||
51 | PACKAGES =+ "${PN}-examples ${PN}-tools" | ||
52 | |||
53 | FILES:${PN} += " ${bindir}/dpdk-testpmd \ | ||
54 | ${bindir}/dpdk-proc-info \ | ||
55 | ${libdir}/*.so* \ | ||
56 | ${libdir}/dpdk/pmds-22.0/*.so* \ | ||
57 | " | ||
58 | FILES:${PN}-examples = " \ | ||
59 | ${INSTALL_PATH}/examples/* \ | ||
60 | " | ||
61 | |||
62 | FILES:${PN}-tools = " \ | ||
63 | ${bindir}/dpdk-pdump \ | ||
64 | ${bindir}/dpdk-test \ | ||
65 | ${bindir}/dpdk-test-* \ | ||
66 | ${bindir}/dpdk-*.py \ | ||
67 | " | ||
68 | |||
69 | CVE_PRODUCT = "data_plane_development_kit" | ||
70 | |||
71 | INSANE_SKIP:${PN} = "dev-so" | ||