summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/crconf/crconf_git.bb2
-rw-r--r--recipes-extended/dpdk/dpdk-20.11.inc2
-rw-r--r--recipes-extended/dpdk/dpdk-module_20.11.bb2
-rw-r--r--recipes-extended/dpdk/dpdk.inc2
-rw-r--r--recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch113
-rw-r--r--recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch34
-rw-r--r--recipes-extended/jailhouse/jailhouse-imx_git.bb17
-rw-r--r--recipes-extended/libpkcs11/libpkcs11_git.bb4
-rw-r--r--recipes-extended/merge-files/merge-files_1.0.bb5
-rw-r--r--recipes-extended/odp/odp.inc5
-rw-r--r--recipes-extended/ofp/ofp_git.bb2
-rw-r--r--recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb2
-rw-r--r--recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb2
-rw-r--r--recipes-extended/secure-obj/secure-obj-module_git.bb4
-rw-r--r--recipes-extended/secure-obj/secure-obj.inc4
-rw-r--r--recipes-extended/secure-obj/secure-obj_git.bb15
-rw-r--r--recipes-extended/skmm-ep/skmm-ep_git.bb2
-rw-r--r--recipes-extended/testfloat/testfloat_2a.bb6
-rw-r--r--recipes-extended/tsntool/tsntool_git.bb2
19 files changed, 180 insertions, 45 deletions
diff --git a/recipes-extended/crconf/crconf_git.bb b/recipes-extended/crconf/crconf_git.bb
index 755365d6d..ed76351e1 100644
--- a/recipes-extended/crconf/crconf_git.bb
+++ b/recipes-extended/crconf/crconf_git.bb
@@ -8,8 +8,6 @@ EXTRA_OEMAKE = "'CC=${CC}' 'HOSTCC=${CC}' SBINDIR='${sbindir}' MANDIR='${mandir}
8SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1" 8SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1"
9SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68" 9SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68"
10 10
11S = "${WORKDIR}/git"
12
13do_install () { 11do_install () {
14 oe_runmake install DESTDIR=${D} 12 oe_runmake install DESTDIR=${D}
15} 13}
diff --git a/recipes-extended/dpdk/dpdk-20.11.inc b/recipes-extended/dpdk/dpdk-20.11.inc
index 90b4c405a..66bcda2ff 100644
--- a/recipes-extended/dpdk/dpdk-20.11.inc
+++ b/recipes-extended/dpdk/dpdk-20.11.inc
@@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4
8SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" 8SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1"
9SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" 9SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270"
10 10
11S = "${WORKDIR}/git"
12
13COMPATIBLE_MACHINE = "(qoriq-arm64)" 11COMPATIBLE_MACHINE = "(qoriq-arm64)"
14 12
15CVE_PRODUCT = "data_plane_development_kit" 13CVE_PRODUCT = "data_plane_development_kit"
diff --git a/recipes-extended/dpdk/dpdk-module_20.11.bb b/recipes-extended/dpdk/dpdk-module_20.11.bb
index 180b140ba..585e198ea 100644
--- a/recipes-extended/dpdk/dpdk-module_20.11.bb
+++ b/recipes-extended/dpdk/dpdk-module_20.11.bb
@@ -14,7 +14,7 @@ DEPENDS += "dpdk"
14export S 14export S
15export STAGING_KERNEL_DIR 15export STAGING_KERNEL_DIR
16export STAGING_INCDIR 16export STAGING_INCDIR
17export INSTALL_MOD_DIR="dpdk" 17export INSTALL_MOD_DIR = "dpdk"
18 18
19do_configure[noexec] = "1" 19do_configure[noexec] = "1"
20 20
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index f2ab1370a..eabd18650 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -26,8 +26,6 @@ export RTE_TARGET = "${DPDK_RTE_TARGET}"
26export RTE_OUTPUT = "${S}/${RTE_TARGET}" 26export RTE_OUTPUT = "${S}/${RTE_TARGET}"
27export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" 27export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net"
28 28
29S = "${WORKDIR}/git"
30
31EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \ 29EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \
32 OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \ 30 OPENSSL_PATH="${STAGING_DIR_HOST}" RTE_KERNELDIR="${STAGING_KERNEL_DIR}" \
33 RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" EXAMPLES_BUILD_DIR="${RTE_TARGET}" \ 31 RTE_KERNELDIR_OUT="${STAGING_KERNEL_BUILDDIR}" EXAMPLES_BUILD_DIR="${RTE_TARGET}" \
diff --git a/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch b/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch
new file mode 100644
index 000000000..c1e3eaa25
--- /dev/null
+++ b/recipes-extended/jailhouse/files/0001-YOCIMX-9281-1-Fix-gcc15-errors.patch
@@ -0,0 +1,113 @@
1From 2be7793ca658015470fe0d60c0c973e12ce68d73 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Thu, 12 Jun 2025 06:49:58 -0700
4Subject: [PATCH 1/2] YOCIMX-9281-1: Fix gcc15 errors
5
6Fix several instances of the following errors:
7
8```
9| inmates/lib/include/inmate_common.h:87:16: error: cannot use keyword 'true' as enumeration constant
10| 87 | typedef enum { true = 1, false = 0 } bool;
11| | ^~~~
12```
13
14```
15| In file included from configs/arm64/hikey.c:16:
16| include/jailhouse/cell-config.h:318:41: error: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (6 chars into 5 available) [-Werror=unterminated-string-initialization]
17| 318 | #define JAILHOUSE_SYSTEM_SIGNATURE "JHSYS"
18| | ^~~~~~~
19| configs/arm64/hikey.c:26:30: note: in expansion of macro 'JAILHOUSE_SYSTEM_SIGNATURE'
20| 26 | .signature = JAILHOUSE_SYSTEM_SIGNATURE,
21| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
22```
23
24Upstream-Status: Backport [Pending]
25Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
26Signed-off-by: Peng Fan <peng.fan@nxp.com>
27---
28 hypervisor/include/jailhouse/header.h | 2 +-
29 hypervisor/include/jailhouse/types.h | 2 ++
30 include/jailhouse/cell-config.h | 4 ++--
31 include/jailhouse/hypercall.h | 2 +-
32 inmates/lib/include/inmate_common.h | 2 ++
33 5 files changed, 8 insertions(+), 4 deletions(-)
34
35diff --git a/hypervisor/include/jailhouse/header.h b/hypervisor/include/jailhouse/header.h
36index 518bc5cb..324eb94b 100644
37--- a/hypervisor/include/jailhouse/header.h
38+++ b/hypervisor/include/jailhouse/header.h
39@@ -55,7 +55,7 @@ struct jailhouse_header {
40 /** Signature "JAILHOUS" used for basic validity check of the
41 * hypervisor image.
42 * @note Filled at build time. */
43- char signature[8];
44+ char signature[8] __attribute__ ((nonstring));
45 /** Size of hypervisor core.
46 * It starts with the hypervisor's header and ends after its bss
47 * section. Rounded up to page boundary.
48diff --git a/hypervisor/include/jailhouse/types.h b/hypervisor/include/jailhouse/types.h
49index 6d78ad6d..f79d7428 100644
50--- a/hypervisor/include/jailhouse/types.h
51+++ b/hypervisor/include/jailhouse/types.h
52@@ -19,7 +19,9 @@
53
54 #ifndef __ASSEMBLY__
55
56+#if __GNUC__ < 15
57 typedef enum { true = 1, false = 0 } bool;
58+#endif
59
60 /** Describes a CPU set. */
61 struct cpu_set {
62diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h
63index 17d59306..affce1c2 100644
64--- a/include/jailhouse/cell-config.h
65+++ b/include/jailhouse/cell-config.h
66@@ -91,7 +91,7 @@
67 * structure.
68 */
69 struct jailhouse_cell_desc {
70- char signature[5];
71+ char signature[5] __attribute__ ((nonstring));
72 __u8 architecture;
73 __u16 revision;
74
75@@ -330,7 +330,7 @@ struct jailhouse_pio {
76 * General descriptor of the system.
77 */
78 struct jailhouse_system {
79- char signature[5];
80+ char signature[5] __attribute__ ((nonstring));
81 __u8 architecture;
82 __u16 revision;
83
84diff --git a/include/jailhouse/hypercall.h b/include/jailhouse/hypercall.h
85index 07574d3d..cf58a4c9 100644
86--- a/include/jailhouse/hypercall.h
87+++ b/include/jailhouse/hypercall.h
88@@ -107,7 +107,7 @@
89
90 #define COMM_REGION_GENERIC_HEADER \
91 /** Communication region magic JHCOMM */ \
92- char signature[6]; \
93+ char signature[6] __attribute__ ((nonstring)); \
94 /** Communication region ABI revision */ \
95 __u16 revision; \
96 /** Cell state, initialized by hypervisor, updated by cell. */ \
97diff --git a/inmates/lib/include/inmate_common.h b/inmates/lib/include/inmate_common.h
98index 1c20a0af..43cd7a20 100644
99--- a/inmates/lib/include/inmate_common.h
100+++ b/inmates/lib/include/inmate_common.h
101@@ -84,7 +84,9 @@ typedef u32 __u32;
102 typedef s64 __s64;
103 typedef u64 __u64;
104
105+#if __GNUC__ < 15
106 typedef enum { true = 1, false = 0 } bool;
107+#endif
108
109 #include <jailhouse/hypercall.h>
110
111--
1122.34.1
113
diff --git a/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch b/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch
new file mode 100644
index 000000000..4c8fefa36
--- /dev/null
+++ b/recipes-extended/jailhouse/files/0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch
@@ -0,0 +1,34 @@
1From 98f6f8dc23d6b3d4fe5b15045ccb3d3ef36747be Mon Sep 17 00:00:00 2001
2From: Peng Fan <peng.fan@nxp.com>
3Date: Mon, 25 Aug 2025 09:48:05 +0800
4Subject: [PATCH 2/2] YOCIMX-9281-2: hypervisor: arm64: fix strh usage
5
6hypervisor/arch/arm64/entry.S:555: Error: immediate offset out of range
7
8Per ARM spec:
9STRH (immediate)
10<pimm> Is the optional positive immediate byte offset, a multiple of 2 in
11the range 0 to 8190, defaulting to 0 and encoded in the "imm12" field
12as <pimm>/2.
13
14So align sdei_event to 2 bytes aligned.
15
16Upstream-Status: Pending
17Signed-off-by: Peng Fan <peng.fan@nxp.com>
18---
19 hypervisor/arch/arm64/include/asm/percpu_fields.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/hypervisor/arch/arm64/include/asm/percpu_fields.h b/hypervisor/arch/arm64/include/asm/percpu_fields.h
23index 32f42a53..844a9417 100644
24--- a/hypervisor/arch/arm64/include/asm/percpu_fields.h
25+++ b/hypervisor/arch/arm64/include/asm/percpu_fields.h
26@@ -18,4 +18,4 @@
27 bool suspended; \
28 bool suspending; \
29 bool resuming; \
30- bool sdei_event;
31+ bool sdei_event __attribute__((aligned(2)));
32--
332.34.1
34
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb
index c230cc3a5..4bcb597e7 100644
--- a/recipes-extended/jailhouse/jailhouse-imx_git.bb
+++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb
@@ -16,12 +16,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
16PROVIDES = "jailhouse" 16PROVIDES = "jailhouse"
17RPROVIDES:${PN} += "jailhouse" 17RPROVIDES:${PN} += "jailhouse"
18 18
19SRCBRANCH = "lf-6.6.3_1.0.0" 19SRCBRANCH = "lf-6.12.20_2.0.0"
20SRCREV = "184a287f4c4c63a3842a3b582b5d700e0f9fd9a4" 20SRCREV = "399d65450e9a377b4aaff4b0627619174e1c8c46"
21
22PV = "2023.03+git${SRCPV}"
21 23
22IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" 24IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https"
23SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ 25SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \
24 file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ 26 file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \
27 file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \
28 file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \
25 " 29 "
26 30
27DEPENDS = " \ 31DEPENDS = " \
@@ -33,7 +37,6 @@ DEPENDS = " \
33 37
34inherit module bash-completion deploy setuptools3 38inherit module bash-completion deploy setuptools3
35 39
36S = "${WORKDIR}/git"
37B = "${S}" 40B = "${S}"
38 41
39JH_ARCH = "arm64" 42JH_ARCH = "arm64"
@@ -107,6 +110,12 @@ RDEPENDS:pyjailhouse = " \
107 python3-shell \ 110 python3-shell \
108" 111"
109 112
110INSANE_SKIP:${PN} = "ldflags" 113INSANE_SKIP:${PN} = "ldflags buildpaths"
114INSANE_SKIP:${PN}-dbg = "buildpaths"
115
116# The QA error in package kernel-module-${KERNEL_VERSION} cannot be skipped with
117# INSANE_SKIP, so adjust at the ERROR_QA level
118ERROR_QA:remove = "buildpaths"
119INSANE_SKIP:kernel-module-${KERNEL_VERSION} = "buildpaths"
111 120
112COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)" 121COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)"
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb
index 731b7a234..347a8ef9a 100644
--- a/recipes-extended/libpkcs11/libpkcs11_git.bb
+++ b/recipes-extended/libpkcs11/libpkcs11_git.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = "PKCS library" 1DESCRIPTION = "PKCS library"
2LICENSE = "GPL-2.0-only & BSD" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625"
4 4
5SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ 5SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \
@@ -9,8 +9,6 @@ SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741"
9 9
10DEPENDS = "openssl secure-obj" 10DEPENDS = "openssl secure-obj"
11 11
12S = "${WORKDIR}/git"
13
14WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 12WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
15export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" 13export CROSS_COMPILE_HOST = "${CROSS_COMPILE}"
16export CROSS_COMPILE_TA = "${CROSS_COMPILE}" 14export CROSS_COMPILE_TA = "${CROSS_COMPILE}"
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb
index 5b3ca7edc..bd788fdb5 100644
--- a/recipes-extended/merge-files/merge-files_1.0.bb
+++ b/recipes-extended/merge-files/merge-files_1.0.bb
@@ -5,14 +5,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
5inherit allarch 5inherit allarch
6 6
7SRC_URI = "file://merge" 7SRC_URI = "file://merge"
8S = "${WORKDIR}"
9 8
10MERGED_DST ?= "${ROOT_HOME}" 9MERGED_DST ?= "${ROOT_HOME}"
11do_install () { 10do_install () {
12 install -d ${D}/${MERGED_DST} 11 install -d ${D}/${MERGED_DST}
13 find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \ 12 find ${UNPACKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \
14 -exec cp -fr '{}' ${D}/${MERGED_DST}/ \; 13 -exec cp -fr '{}' ${D}/${MERGED_DST}/ \;
15 find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \; 14 find ${UNPACKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \;
16} 15}
17do_configure[noexec] = "1" 16do_configure[noexec] = "1"
18do_compile[noexec] = "1" 17do_compile[noexec] = "1"
diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc
index 0c90d0c57..412667f01 100644
--- a/recipes-extended/odp/odp.inc
+++ b/recipes-extended/odp/odp.inc
@@ -10,8 +10,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/odp:"
10 10
11SRC_URI = " \ 11SRC_URI = " \
12git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ 12git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \
13git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=git/platform/linux-dpaa2/flib/qbman \ 13git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \
14git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=git/platform/linux-dpaa2/flib/rta \ 14git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \
15" 15"
16 16
17SRC_URI += "file://0001-Fix-this-build-error.patch" 17SRC_URI += "file://0001-Fix-this-build-error.patch"
@@ -22,6 +22,5 @@ SRCREV_qbman = "75ff61a7ca6acdbdbb780161b053cbcbc990f1be"
22SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d" 22SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d"
23 23
24SRCREV_FORMAT = "default_qbman_rta" 24SRCREV_FORMAT = "default_qbman_rta"
25S = "${WORKDIR}/git"
26 25
27COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1088a)" 26COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1088a)"
diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb
index 47e543154..0f90dc5bb 100644
--- a/recipes-extended/ofp/ofp_git.bb
+++ b/recipes-extended/ofp/ofp_git.bb
@@ -10,8 +10,6 @@ SRC_URI = "git://github.com/nxp-qoriq/ofp;protocol=https;nobranch=1"
10 10
11SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108" 11SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108"
12 12
13S = "${WORKDIR}/git"
14
15inherit autotools-brokensep pkgconfig 13inherit autotools-brokensep pkgconfig
16 14
17PACKAGE_ARCH = "${MACHINE_ARCH}" 15PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb
index 20d06dd61..a21bc69cf 100644
--- a/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb
+++ b/recipes-extended/ovs-dpdk/ovs-dpdk_2.15.bb
@@ -10,8 +10,6 @@ inherit python3native pkgconfig
10SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" 10SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1"
11SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" 11SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99"
12 12
13S = "${WORKDIR}/git"
14
15do_configure() { 13do_configure() {
16 export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} 14 export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR}
17 ${S}/boot.sh 15 ${S}/boot.sh
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 f04e1e9f5..485f763bf 100644
--- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb
+++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb
@@ -9,8 +9,6 @@ SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \
9" 9"
10SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" 10SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde"
11 11
12S = "${WORKDIR}/git"
13
14DPAA_VER ?= "dpaa" 12DPAA_VER ?= "dpaa"
15export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc" 13export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc"
16export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk" 14export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk"
diff --git a/recipes-extended/secure-obj/secure-obj-module_git.bb b/recipes-extended/secure-obj/secure-obj-module_git.bb
index 3866dde48..c6bbc41df 100644
--- a/recipes-extended/secure-obj/secure-obj-module_git.bb
+++ b/recipes-extended/secure-obj/secure-obj-module_git.bb
@@ -1,11 +1,11 @@
1require secure-obj.inc 1require secure-obj.inc
2 2
3LIC_FILES_CHKSUM = "file://../README;md5=82b72e88f23cded9dd23f0fb1790b8d2" 3LIC_FILES_CHKSUM = "file://../LICENSE;md5=751419260aa954499f7abaabaa882bbe"
4 4
5DEPENDS += "virtual/kernel" 5DEPENDS += "virtual/kernel"
6 6
7inherit module 7inherit module
8 8
9S = "${WORKDIR}/git/securekeydev" 9S = "${UNPACKDIR}/${BP}/securekeydev"
10 10
11EXTRA_OEMAKE += 'KERNEL_SRC="${STAGING_KERNEL_DIR}"' 11EXTRA_OEMAKE += 'KERNEL_SRC="${STAGING_KERNEL_DIR}"'
diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc
index 64e4a6b71..16115ff03 100644
--- a/recipes-extended/secure-obj/secure-obj.inc
+++ b/recipes-extended/secure-obj/secure-obj.inc
@@ -1,5 +1,5 @@
1DESCRIPTION = "Secure Object" 1DESCRIPTION = "Secure Object"
2LICENSE = "BSD" 2LICENSE = "BSD-3-Clause"
3 3
4DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" 4DEPENDS = "openssl optee-os-qoriq optee-client-qoriq"
5RDEPENDS:${PN} = "bash libcrypto libssl" 5RDEPENDS:${PN} = "bash libcrypto libssl"
@@ -11,7 +11,7 @@ inherit python3native
11LDFLAGS += "${TOOLCHAIN_OPTIONS}" 11LDFLAGS += "${TOOLCHAIN_OPTIONS}"
12 12
13SRC_URI = "git://github.com/nxp-qoriq/secure_obj;protocol=https;nobranch=1" 13SRC_URI = "git://github.com/nxp-qoriq/secure_obj;protocol=https;nobranch=1"
14SRCREV = "5ff1231f74b4b01744be95a3137a14ad0a483e61" 14SRCREV = "4706a6534ec09f9a46bfe305c5e49badca32b4c6"
15 15
16WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 16WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
17export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" 17export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/"
diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb
index 84ecea1ea..4d197f57c 100644
--- a/recipes-extended/secure-obj/secure-obj_git.bb
+++ b/recipes-extended/secure-obj/secure-obj_git.bb
@@ -1,9 +1,9 @@
1require secure-obj.inc 1require secure-obj.inc
2 2
3LIC_FILES_CHKSUM = "file://README;md5=82b72e88f23cded9dd23f0fb1790b8d2" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
4
5S = "${WORKDIR}/git"
6 4
5DEPENDS:remove = " python3-pycryptodomex-native"
6DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit"
7RDEPENDS:{PN} += "secure-obj-module" 7RDEPENDS:{PN} += "secure-obj-module"
8 8
9WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" 9WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
@@ -17,14 +17,15 @@ CFLAGS += "${TOOLCHAIN_OPTIONS}"
17 17
18do_compile() { 18do_compile() {
19 unset LDFLAGS 19 unset LDFLAGS
20 export TA_DEV_KIT_DIR="${RECIPE_SYSROOT}/usr/include/optee/export-user_ta" 20 export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta/
21 export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" 21 export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
22 export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" 22 export OPENSSL_PATH="${RECIPE_SYSROOT}/usr"
23 for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do 23 export OPENSSL_MODULES=${STAGING_LIBDIR_NATIVE}/ossl-modules
24 for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do
24 cd ${APP} 25 cd ${APP}
25 oe_runmake 26 oe_runmake
26 cd .. 27 cd ..
27 done 28 done
28} 29}
29 30
30do_install() { 31do_install() {
diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb
index c08c94923..72638766c 100644
--- a/recipes-extended/skmm-ep/skmm-ep_git.bb
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch=
12" 12"
13SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" 13SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896"
14 14
15S = "${WORKDIR}/git"
16
17EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"' 15EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"'
18 16
19export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" 17export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`"
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb
index 4ed2ceb39..45e9365da 100644
--- a/recipes-extended/testfloat/testfloat_2a.bb
+++ b/recipes-extended/testfloat/testfloat_2a.bb
@@ -10,15 +10,13 @@ SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \
10 file://TestFloat-powerpc-E500v2-SPE-1.patch \ 10 file://TestFloat-powerpc-E500v2-SPE-1.patch \
11 file://Yocto-replace-COMPILE_PREFIX-gcc.patch \ 11 file://Yocto-replace-COMPILE_PREFIX-gcc.patch \
12 " 12 "
13SRC_URI[TestFloat.md5sum] = "4dc889319ae1e0c5381ec511f784553a"
14SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" 13SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e"
15SRC_URI[SoftFloat.md5sum] = "b4a58b5c941f1a2317e4c2500086e3fa"
16SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" 14SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81"
17 15
18S = "${WORKDIR}/TestFloat-2a" 16S = "${UNPACKDIR}/TestFloat-2a"
19 17
20do_unpack2(){ 18do_unpack2(){
21 mv ${WORKDIR}/SoftFloat-2b ${S}/SoftFloat-2b 19 mv ${UNPACKDIR}/SoftFloat-2b ${S}/SoftFloat-2b
22 cd ${S} 20 cd ${S}
23 if [ -n "$(which fromdos)" ];then 21 if [ -n "$(which fromdos)" ];then
24 find -type f -exec fromdos {} \; 22 find -type f -exec fromdos {} \;
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb
index 2ad4a0c49..f70e64e2b 100644
--- a/recipes-extended/tsntool/tsntool_git.bb
+++ b/recipes-extended/tsntool/tsntool_git.bb
@@ -16,8 +16,6 @@ SRC_URI:append = " \
16 file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ 16 file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \
17" 17"
18 18
19S = "${WORKDIR}/git"
20
21do_configure[depends] += "virtual/kernel:do_shared_workdir" 19do_configure[depends] += "virtual/kernel:do_shared_workdir"
22 20
23do_compile:prepend() { 21do_compile:prepend() {