diff options
Diffstat (limited to 'recipes-extended')
| -rw-r--r-- | recipes-extended/libpkcs11/libpkcs11_git.bb | 24 | ||||
| -rw-r--r-- | recipes-extended/odp/files/0001-Fix-this-build-error.patch (renamed from recipes-extended/odp/odp/0001-Fix-this-build-error.patch) | 0 | ||||
| -rw-r--r-- | recipes-extended/odp/odp.inc | 2 | ||||
| -rw-r--r-- | recipes-extended/odp/odp_git.bb | 13 | ||||
| -rw-r--r-- | recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | 18 | ||||
| -rw-r--r-- | recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb | 9 |
6 files changed, 46 insertions, 20 deletions
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index 2f97de27e..28bb817f8 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | DESCRIPTION = "PKCS library" | 1 | SUMMARY = "PKCS#11 cryptographic token library" |
| 2 | DESCRIPTION = "PKCS#11 library implementing cryptographic token operations \ | ||
| 3 | backed by the NXP QorIQ secure object (secure-obj) subsystem." | ||
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" | 4 | HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" |
| 5 | SECTION = "libs" | ||
| 3 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" |
| 8 | DEPENDS = "openssl secure-obj" | ||
| 5 | 9 | ||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ | 10 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ |
| 7 | file://0001-fix-multiple-definition-error.patch \ | 11 | file://0001-fix-multiple-definition-error.patch \ |
| 8 | " | 12 | " |
| 9 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" | 13 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" |
| 10 | 14 | ||
| 11 | DEPENDS = "openssl secure-obj" | ||
| 12 | |||
| 13 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 15 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 14 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" | 16 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" |
| 15 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" | 17 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" |
| @@ -25,15 +27,21 @@ do_compile() { | |||
| 25 | } | 27 | } |
| 26 | 28 | ||
| 27 | do_install(){ | 29 | do_install(){ |
| 28 | mkdir -p ${D}/${libdir} | 30 | install -d ${D}${libdir} |
| 29 | mkdir -p ${D}/${includedir} ${D}/${bindir} | 31 | install -d ${D}${includedir} |
| 30 | cp ${S}/out/export/lib/libpkcs11.so ${D}/${libdir} | 32 | install -d ${D}${bindir} |
| 31 | cp ${S}/out/export/include/*.h ${D}/${includedir} | 33 | install -m 0755 ${S}/out/export/lib/libpkcs11.so ${D}${libdir} |
| 34 | install -m 0644 ${S}/out/export/include/*.h ${D}${includedir} | ||
| 32 | rm -f ${D}${includedir}/pkcs11.h | 35 | rm -f ${D}${includedir}/pkcs11.h |
| 33 | cp ${S}/out/export/app/* ${D}/${bindir} | 36 | install -m 0755 ${S}/out/export/app/* ${D}${bindir} |
| 34 | } | 37 | } |
| 35 | 38 | ||
| 36 | PARALLEL_MAKE = "" | 39 | PARALLEL_MAKE = "" |
| 40 | |||
| 41 | # The library links against sysroot libraries and ships its .so in the main | ||
| 42 | # package, so the ldflags/dev-deps/dev-elf QA checks do not apply cleanly here. | ||
| 43 | # nooelint: oelint.vars.insaneskip | ||
| 37 | INSANE_SKIP:${PN} = "ldflags dev-deps" | 44 | INSANE_SKIP:${PN} = "ldflags dev-deps" |
| 45 | # nooelint: oelint.vars.insaneskip | ||
| 38 | INSANE_SKIP:${PN}-dev = "ldflags dev-elf" | 46 | INSANE_SKIP:${PN}-dev = "ldflags dev-elf" |
| 39 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 47 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
diff --git a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch b/recipes-extended/odp/files/0001-Fix-this-build-error.patch index cebd7da16..cebd7da16 100644 --- a/recipes-extended/odp/odp/0001-Fix-this-build-error.patch +++ b/recipes-extended/odp/files/0001-Fix-this-build-error.patch | |||
diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc index adfd936d7..a730ccd47 100644 --- a/recipes-extended/odp/odp.inc +++ b/recipes-extended/odp/odp.inc | |||
| @@ -6,8 +6,6 @@ SECTION = "console/network" | |||
| 6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829" |
| 8 | 8 | ||
| 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/odp:" | ||
| 10 | |||
| 11 | SRC_URI = "\ | 9 | SRC_URI = "\ |
| 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ | 10 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ |
| 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ | 11 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ |
diff --git a/recipes-extended/odp/odp_git.bb b/recipes-extended/odp/odp_git.bb index e531515b1..dc19a82ab 100644 --- a/recipes-extended/odp/odp_git.bb +++ b/recipes-extended/odp/odp_git.bb | |||
| @@ -2,12 +2,11 @@ require odp.inc | |||
| 2 | 2 | ||
| 3 | inherit autotools-brokensep | 3 | inherit autotools-brokensep |
| 4 | 4 | ||
| 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 5 | # odp.inc does not set DEPENDS, so this is the canonical definition rather than |
| 6 | 6 | # an override after the require. | |
| 7 | # nooelint: oelint.vars.dependsappend | ||
| 7 | DEPENDS = "cunit libxml2 openssl" | 8 | DEPENDS = "cunit libxml2 openssl" |
| 8 | 9 | ||
| 9 | RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module" | ||
| 10 | |||
| 11 | ODP_SOC ?= "" | 10 | ODP_SOC ?= "" |
| 12 | ODP_SOC:ls1043ardb = "LS1043" | 11 | ODP_SOC:ls1043ardb = "LS1043" |
| 13 | ODP_SOC:ls1046ardb = "LS1046" | 12 | ODP_SOC:ls1046ardb = "LS1046" |
| @@ -17,6 +16,8 @@ ODP_BUILD_TYPE:ls1043ardb = "ls1043" | |||
| 17 | ODP_BUILD_TYPE:ls1046ardb = "ls1046" | 16 | ODP_BUILD_TYPE:ls1046ardb = "ls1046" |
| 18 | ODP_BUILD_TYPE:ls1088ardb = "ls1088" | 17 | ODP_BUILD_TYPE:ls1088ardb = "ls1088" |
| 19 | 18 | ||
| 19 | PACKAGECONFIG[perf] = "--enable-test-perf,,," | ||
| 20 | |||
| 20 | EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ | 21 | EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ |
| 21 | --enable-test-vald \ | 22 | --enable-test-vald \ |
| 22 | --enable-test-perf \ | 23 | --enable-test-perf \ |
| @@ -31,7 +32,7 @@ CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthr | |||
| 31 | -Wno-stringop-truncation \ | 32 | -Wno-stringop-truncation \ |
| 32 | " | 33 | " |
| 33 | 34 | ||
| 34 | PACKAGECONFIG[perf] = "--enable-test-perf,,," | 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 35 | 36 | ||
| 36 | do_configure:prepend () { | 37 | do_configure:prepend () { |
| 37 | export SOC=${ODP_SOC} | 38 | export SOC=${ODP_SOC} |
| @@ -60,3 +61,5 @@ do_install:append () { | |||
| 60 | FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" | 61 | FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" |
| 61 | FILES:${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test" | 62 | FILES:${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test" |
| 62 | FILES:${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug" | 63 | FILES:${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug" |
| 64 | |||
| 65 | RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module" | ||
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb index 263f1c12c..8aaf0a638 100644 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | |||
| @@ -1,16 +1,18 @@ | |||
| 1 | DESCRIPTION = "Open Virtual switch based on DPDK" | 1 | SUMMARY = "Open vSwitch accelerated with DPDK" |
| 2 | DESCRIPTION = "Open vSwitch (multilayer virtual switch) built on top of DPDK for \ | ||
| 3 | fast userspace packet forwarding on NXP QorIQ platforms." | ||
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk" | 4 | HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk" |
| 5 | SECTION = "networking" | ||
| 3 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" |
| 5 | 8 | ||
| 6 | DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native" | 9 | DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native" |
| 7 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 8 | |||
| 9 | inherit python3native pkgconfig | ||
| 10 | 10 | ||
| 11 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | 11 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" |
| 12 | SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" | 12 | SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" |
| 13 | 13 | ||
| 14 | inherit python3native pkgconfig | ||
| 15 | |||
| 14 | do_configure() { | 16 | do_configure() { |
| 15 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | 17 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} |
| 16 | ${S}/boot.sh | 18 | ${S}/boot.sh |
| @@ -28,10 +30,18 @@ do_install:append() { | |||
| 28 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | 30 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk |
| 29 | } | 31 | } |
| 30 | 32 | ||
| 33 | # The upstream build hardcodes cross host/CFLAGS paths, so the produced | ||
| 34 | # binaries embed build paths that cannot be scrubbed; skip the buildpaths QA | ||
| 35 | # check rather than fail packaging. | ||
| 36 | # nooelint: oelint.vars.insaneskip | ||
| 31 | INSANE_SKIP:${PN}-dbg += "buildpaths" | 37 | INSANE_SKIP:${PN}-dbg += "buildpaths" |
| 38 | # nooelint: oelint.vars.insaneskip | ||
| 32 | INSANE_SKIP:${PN} += "buildpaths" | 39 | INSANE_SKIP:${PN} += "buildpaths" |
| 33 | 40 | ||
| 34 | ALLOW_EMPTY:${PN} = "1" | 41 | ALLOW_EMPTY:${PN} = "1" |
| 35 | INHIBIT_PACKAGE_STRIP = "1" | 42 | INHIBIT_PACKAGE_STRIP = "1" |
| 36 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 43 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 44 | |||
| 45 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | ||
| 46 | |||
| 37 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 47 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb index 49a506a13..1de851ac8 100644 --- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb +++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | DESCRIPTION = "PKTGEN DPDK" | 1 | SUMMARY = "Traffic generator powered by DPDK" |
| 2 | DESCRIPTION = "Pktgen is a high-performance software traffic generator built on \ | ||
| 3 | the DPDK fast packet processing framework, used to send and \ | ||
| 4 | receive test traffic at line rate for network benchmarking." | ||
| 2 | HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/" | 5 | HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/" |
| 6 | SECTION = "console/network" | ||
| 3 | LICENSE = "BSD" | 7 | LICENSE = "BSD" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" |
| 5 | 9 | ||
| @@ -29,6 +33,9 @@ do_install() { | |||
| 29 | install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/ | 33 | install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/ |
| 30 | } | 34 | } |
| 31 | 35 | ||
| 36 | # DPDK's meson build links the app without propagating the distro LDFLAGS, | ||
| 37 | # so the ldflags QA check is skipped for this package. | ||
| 38 | # nooelint: oelint.vars.insaneskip | ||
| 32 | INSANE_SKIP:${PN} = "ldflags" | 39 | INSANE_SKIP:${PN} = "ldflags" |
| 33 | INHIBIT_PACKAGE_STRIP = "1" | 40 | INHIBIT_PACKAGE_STRIP = "1" |
| 34 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 41 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
