summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/libpkcs11/libpkcs11_git.bb24
-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.inc2
-rw-r--r--recipes-extended/odp/odp_git.bb13
-rw-r--r--recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb18
-rw-r--r--recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb9
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 @@
1DESCRIPTION = "PKCS library" 1SUMMARY = "PKCS#11 cryptographic token library"
2DESCRIPTION = "PKCS#11 library implementing cryptographic token operations \
3 backed by the NXP QorIQ secure object (secure-obj) subsystem."
2HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" 4HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11"
5SECTION = "libs"
3LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625"
8DEPENDS = "openssl secure-obj"
5 9
6SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ 10SRC_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"
9SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" 13SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741"
10 14
11DEPENDS = "openssl secure-obj"
12
13WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 15WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
14export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" 16export CROSS_COMPILE_HOST = "${CROSS_COMPILE}"
15export CROSS_COMPILE_TA = "${CROSS_COMPILE}" 17export CROSS_COMPILE_TA = "${CROSS_COMPILE}"
@@ -25,15 +27,21 @@ do_compile() {
25} 27}
26 28
27do_install(){ 29do_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
36PARALLEL_MAKE = "" 39PARALLEL_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
37INSANE_SKIP:${PN} = "ldflags dev-deps" 44INSANE_SKIP:${PN} = "ldflags dev-deps"
45# nooelint: oelint.vars.insaneskip
38INSANE_SKIP:${PN}-dev = "ldflags dev-elf" 46INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
39COMPATIBLE_MACHINE = "(qoriq-arm64)" 47COMPATIBLE_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"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829"
8 8
9FILESEXTRAPATHS:prepend := "${THISDIR}/odp:"
10
11SRC_URI = "\ 9SRC_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
3inherit autotools-brokensep 3inherit autotools-brokensep
4 4
5PACKAGE_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
7DEPENDS = "cunit libxml2 openssl" 8DEPENDS = "cunit libxml2 openssl"
8 9
9RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module"
10
11ODP_SOC ?= "" 10ODP_SOC ?= ""
12ODP_SOC:ls1043ardb = "LS1043" 11ODP_SOC:ls1043ardb = "LS1043"
13ODP_SOC:ls1046ardb = "LS1046" 12ODP_SOC:ls1046ardb = "LS1046"
@@ -17,6 +16,8 @@ ODP_BUILD_TYPE:ls1043ardb = "ls1043"
17ODP_BUILD_TYPE:ls1046ardb = "ls1046" 16ODP_BUILD_TYPE:ls1046ardb = "ls1046"
18ODP_BUILD_TYPE:ls1088ardb = "ls1088" 17ODP_BUILD_TYPE:ls1088ardb = "ls1088"
19 18
19PACKAGECONFIG[perf] = "--enable-test-perf,,,"
20
20EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ 21EXTRA_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
34PACKAGECONFIG[perf] = "--enable-test-perf,,," 35PACKAGE_ARCH = "${MACHINE_ARCH}"
35 36
36do_configure:prepend () { 37do_configure:prepend () {
37 export SOC=${ODP_SOC} 38 export SOC=${ODP_SOC}
@@ -60,3 +61,5 @@ do_install:append () {
60FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" 61FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la"
61FILES:${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" 62FILES:${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"
62FILES:${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" 63FILES:${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
65RDEPENDS:${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 @@
1DESCRIPTION = "Open Virtual switch based on DPDK" 1SUMMARY = "Open vSwitch accelerated with DPDK"
2DESCRIPTION = "Open vSwitch (multilayer virtual switch) built on top of DPDK for \
3 fast userspace packet forwarding on NXP QorIQ platforms."
2HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk" 4HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk"
5SECTION = "networking"
3LICENSE = "Apache-2.0" 6LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"
5 8
6DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native" 9DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native"
7RDEPENDS:${PN} = "bash libcrypto libssl python3"
8
9inherit python3native pkgconfig
10 10
11SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" 11SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1"
12SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" 12SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d"
13 13
14inherit python3native pkgconfig
15
14do_configure() { 16do_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
31INSANE_SKIP:${PN}-dbg += "buildpaths" 37INSANE_SKIP:${PN}-dbg += "buildpaths"
38# nooelint: oelint.vars.insaneskip
32INSANE_SKIP:${PN} += "buildpaths" 39INSANE_SKIP:${PN} += "buildpaths"
33 40
34ALLOW_EMPTY:${PN} = "1" 41ALLOW_EMPTY:${PN} = "1"
35INHIBIT_PACKAGE_STRIP = "1" 42INHIBIT_PACKAGE_STRIP = "1"
36PACKAGE_ARCH = "${MACHINE_ARCH}" 43PACKAGE_ARCH = "${MACHINE_ARCH}"
44
45RDEPENDS:${PN} = "bash libcrypto libssl python3"
46
37COMPATIBLE_MACHINE = "(qoriq-arm64)" 47COMPATIBLE_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 @@
1DESCRIPTION = "PKTGEN DPDK" 1SUMMARY = "Traffic generator powered by DPDK"
2DESCRIPTION = "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."
2HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/" 5HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/"
6SECTION = "console/network"
3LICENSE = "BSD" 7LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" 8LIC_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
32INSANE_SKIP:${PN} = "ldflags" 39INSANE_SKIP:${PN} = "ldflags"
33INHIBIT_PACKAGE_STRIP = "1" 40INHIBIT_PACKAGE_STRIP = "1"
34PACKAGE_ARCH = "${MACHINE_ARCH}" 41PACKAGE_ARCH = "${MACHINE_ARCH}"