diff options
Diffstat (limited to 'recipes-extended/dpdk/dpdk_22.11.bb')
| -rw-r--r-- | recipes-extended/dpdk/dpdk_22.11.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk_22.11.bb b/recipes-extended/dpdk/dpdk_22.11.bb new file mode 100644 index 000000000..84bda4770 --- /dev/null +++ b/recipes-extended/dpdk/dpdk_22.11.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | DESCRIPTION = "Data Plane Development Kit" | ||
| 2 | HOMEPAGE = "http://dpdk.org" | ||
| 3 | LICENSE = "BSD-3-Clause & LGPL-2.1-only & GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 5 | file://license/lgpl-2.1.txt;md5=4b54a1fd55a448865a0b32d41598759d \ | ||
| 6 | file://license/bsd-3-clause.txt;md5=0f00d99239d922ffd13cabef83b33444" | ||
| 7 | |||
| 8 | DEPENDS = "python3-pyelftools-native" | ||
| 9 | |||
| 10 | DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https" | ||
| 11 | SRC_URI = "${DPDK_SRC};nobranch=1 \ | ||
| 12 | file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch" | ||
| 13 | SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae" | ||
| 14 | |||
| 15 | inherit meson pkgconfig | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "openssl examples" | ||
| 18 | |||
| 19 | PACKAGECONFIG[afxdp] = ",,libbpf" | ||
| 20 | PACKAGECONFIG[examples] = "-Denable_examples_bin_install=true -Dexamples=${DPDK_EXAMPLES},-Denable_examples_bin_install=false" | ||
| 21 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
| 22 | PACKAGECONFIG[openssl] = ",,openssl" | ||
| 23 | |||
| 24 | DPDK_EXAMPLES ?= "l2fwd,l3fwd,l2fwd-crypto,ipsec-secgw,ip_fragmentation,ip_reassembly,qdma_demo,timer,multi_process/simple_mp" | ||
| 25 | DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf" | ||
| 26 | |||
| 27 | # kernel module is provide by dpdk-module recipe, so disable here | ||
| 28 | EXTRA_OEMESON = " \ | ||
| 29 | -Denable_kmods=false \ | ||
| 30 | -Doptimization=3 \ | ||
| 31 | --cross-file ${S}/config/arm/arm64_poky_linux_gcc \ | ||
| 32 | -Denable_driver_sdk=true \ | ||
| 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \ | ||
| 34 | -Denable_examples_source_install=false \ | ||
| 35 | -Denable_apps=${DPDK_APPS} \ | ||
| 36 | " | ||
| 37 | |||
| 38 | do_install:append(){ | ||
| 39 | install -d ${D}/${sysconfdir}/dpdk | ||
| 40 | cp -rf ${S}/nxp/* ${D}/${sysconfdir}/dpdk | ||
| 41 | } | ||
| 42 | |||
| 43 | INSANE_SKIP:${PN} = "dev-so" | ||
| 44 | |||
| 45 | RDEPENDS:${PN} += "bash pciutils python3-core python3-pyelftools" | ||
| 46 | |||
| 47 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
| 48 | |||
| 49 | CVE_PRODUCT = "data_plane_development_kit" | ||
