diff options
Diffstat (limited to 'recipes-extended')
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} | |||
| 8 | SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1" | 8 | SRC_URI = "git://git.code.sf.net/p/crconf/code;protocol=https;nobranch=1" |
| 9 | SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68" | 9 | SRCREV = "c2b9595d739a9515a86ff3b1980b5cfdfcc42d68" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_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 | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/dpdk;protocol=https;nobranch=1" |
| 9 | SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" | 9 | SRCREV = "f74b8bd5ab1c6ff76e956fc202a56aea2d200270" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 11 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
| 14 | 12 | ||
| 15 | CVE_PRODUCT = "data_plane_development_kit" | 13 | CVE_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" | |||
| 14 | export S | 14 | export S |
| 15 | export STAGING_KERNEL_DIR | 15 | export STAGING_KERNEL_DIR |
| 16 | export STAGING_INCDIR | 16 | export STAGING_INCDIR |
| 17 | export INSTALL_MOD_DIR="dpdk" | 17 | export INSTALL_MOD_DIR = "dpdk" |
| 18 | 18 | ||
| 19 | do_configure[noexec] = "1" | 19 | do_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}" | |||
| 26 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" | 26 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" |
| 27 | export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" | 27 | export MODULE_DIR = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net" |
| 28 | 28 | ||
| 29 | S = "${WORKDIR}/git" | ||
| 30 | |||
| 31 | EXTRA_OEMAKE += 'ETHTOOL_LIB_PATH="${S}/examples/ethtool/lib/${RTE_TARGET}" RTE_SDK="${S}" \ | 29 | EXTRA_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 @@ | |||
| 1 | From 2be7793ca658015470fe0d60c0c973e12ce68d73 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 3 | Date: Thu, 12 Jun 2025 06:49:58 -0700 | ||
| 4 | Subject: [PATCH 1/2] YOCIMX-9281-1: Fix gcc15 errors | ||
| 5 | |||
| 6 | Fix 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 | |||
| 24 | Upstream-Status: Backport [Pending] | ||
| 25 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
| 26 | Signed-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 | |||
| 35 | diff --git a/hypervisor/include/jailhouse/header.h b/hypervisor/include/jailhouse/header.h | ||
| 36 | index 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. | ||
| 48 | diff --git a/hypervisor/include/jailhouse/types.h b/hypervisor/include/jailhouse/types.h | ||
| 49 | index 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 { | ||
| 62 | diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h | ||
| 63 | index 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 | |||
| 84 | diff --git a/include/jailhouse/hypercall.h b/include/jailhouse/hypercall.h | ||
| 85 | index 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. */ \ | ||
| 97 | diff --git a/inmates/lib/include/inmate_common.h b/inmates/lib/include/inmate_common.h | ||
| 98 | index 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 | -- | ||
| 112 | 2.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 @@ | |||
| 1 | From 98f6f8dc23d6b3d4fe5b15045ccb3d3ef36747be Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peng Fan <peng.fan@nxp.com> | ||
| 3 | Date: Mon, 25 Aug 2025 09:48:05 +0800 | ||
| 4 | Subject: [PATCH 2/2] YOCIMX-9281-2: hypervisor: arm64: fix strh usage | ||
| 5 | |||
| 6 | hypervisor/arch/arm64/entry.S:555: Error: immediate offset out of range | ||
| 7 | |||
| 8 | Per ARM spec: | ||
| 9 | STRH (immediate) | ||
| 10 | <pimm> Is the optional positive immediate byte offset, a multiple of 2 in | ||
| 11 | the range 0 to 8190, defaulting to 0 and encoded in the "imm12" field | ||
| 12 | as <pimm>/2. | ||
| 13 | |||
| 14 | So align sdei_event to 2 bytes aligned. | ||
| 15 | |||
| 16 | Upstream-Status: Pending | ||
| 17 | Signed-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 | |||
| 22 | diff --git a/hypervisor/arch/arm64/include/asm/percpu_fields.h b/hypervisor/arch/arm64/include/asm/percpu_fields.h | ||
| 23 | index 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 | -- | ||
| 33 | 2.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 \ | |||
| 16 | PROVIDES = "jailhouse" | 16 | PROVIDES = "jailhouse" |
| 17 | RPROVIDES:${PN} += "jailhouse" | 17 | RPROVIDES:${PN} += "jailhouse" |
| 18 | 18 | ||
| 19 | SRCBRANCH = "lf-6.6.3_1.0.0" | 19 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 20 | SRCREV = "184a287f4c4c63a3842a3b582b5d700e0f9fd9a4" | 20 | SRCREV = "399d65450e9a377b4aaff4b0627619174e1c8c46" |
| 21 | |||
| 22 | PV = "2023.03+git${SRCPV}" | ||
| 21 | 23 | ||
| 22 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" | 24 | IMX_JAILHOUSE_SRC ?= "git://github.com/nxp-imx/imx-jailhouse.git;protocol=https" |
| 23 | SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ | 25 | SRC_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 | ||
| 27 | DEPENDS = " \ | 31 | DEPENDS = " \ |
| @@ -33,7 +37,6 @@ DEPENDS = " \ | |||
| 33 | 37 | ||
| 34 | inherit module bash-completion deploy setuptools3 | 38 | inherit module bash-completion deploy setuptools3 |
| 35 | 39 | ||
| 36 | S = "${WORKDIR}/git" | ||
| 37 | B = "${S}" | 40 | B = "${S}" |
| 38 | 41 | ||
| 39 | JH_ARCH = "arm64" | 42 | JH_ARCH = "arm64" |
| @@ -107,6 +110,12 @@ RDEPENDS:pyjailhouse = " \ | |||
| 107 | python3-shell \ | 110 | python3-shell \ |
| 108 | " | 111 | " |
| 109 | 112 | ||
| 110 | INSANE_SKIP:${PN} = "ldflags" | 113 | INSANE_SKIP:${PN} = "ldflags buildpaths" |
| 114 | INSANE_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 | ||
| 118 | ERROR_QA:remove = "buildpaths" | ||
| 119 | INSANE_SKIP:kernel-module-${KERNEL_VERSION} = "buildpaths" | ||
| 111 | 120 | ||
| 112 | COMPATIBLE_MACHINE = "(mx8m-nxp-bsp|mx8ulp-nxp-bsp|mx9-nxp-bsp)" | 121 | COMPATIBLE_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 @@ | |||
| 1 | DESCRIPTION = "PKCS library" | 1 | DESCRIPTION = "PKCS library" |
| 2 | LICENSE = "GPL-2.0-only & BSD" | 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ | 5 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ |
| @@ -9,8 +9,6 @@ SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" | |||
| 9 | 9 | ||
| 10 | DEPENDS = "openssl secure-obj" | 10 | DEPENDS = "openssl secure-obj" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 12 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 15 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" | 13 | export CROSS_COMPILE_HOST = "${CROSS_COMPILE}" |
| 16 | export CROSS_COMPILE_TA = "${CROSS_COMPILE}" | 14 | export 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 | |||
| 5 | inherit allarch | 5 | inherit allarch |
| 6 | 6 | ||
| 7 | SRC_URI = "file://merge" | 7 | SRC_URI = "file://merge" |
| 8 | S = "${WORKDIR}" | ||
| 9 | 8 | ||
| 10 | MERGED_DST ?= "${ROOT_HOME}" | 9 | MERGED_DST ?= "${ROOT_HOME}" |
| 11 | do_install () { | 10 | do_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 | } |
| 17 | do_configure[noexec] = "1" | 16 | do_configure[noexec] = "1" |
| 18 | do_compile[noexec] = "1" | 17 | do_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 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
| 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ | 12 | 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=git/platform/linux-dpaa2/flib/qbman \ | 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ |
| 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=git/platform/linux-dpaa2/flib/rta \ | 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" | 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" |
| @@ -22,6 +22,5 @@ SRCREV_qbman = "75ff61a7ca6acdbdbb780161b053cbcbc990f1be" | |||
| 22 | SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d" | 22 | SRCREV_rta = "bbab28b03ae21c52ce913f8b052acf53bd24ff5d" |
| 23 | 23 | ||
| 24 | SRCREV_FORMAT = "default_qbman_rta" | 24 | SRCREV_FORMAT = "default_qbman_rta" |
| 25 | S = "${WORKDIR}/git" | ||
| 26 | 25 | ||
| 27 | COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1088a)" | 26 | COMPATIBLE_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 | ||
| 11 | SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108" | 11 | SRCREV = "fe66f4659f7d356f7aa73a8fb32fcf67c6cf1108" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit autotools-brokensep pkgconfig | 13 | inherit autotools-brokensep pkgconfig |
| 16 | 14 | ||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 15 | PACKAGE_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 | |||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/ovs-dpdk;protocol=https;nobranch=1" |
| 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" | 11 | SRCREV = "f2c0744d2f68c4cd2840d6e409d7b0520e4caf99" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_configure() { | 13 | do_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 | " |
| 10 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" | 10 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | DPAA_VER ?= "dpaa" | 12 | DPAA_VER ?= "dpaa" |
| 15 | export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc" | 13 | export RTE_TARGET = "arm64-${DPAA_VER}-linuxapp-gcc" |
| 16 | export RTE_SDK = "${RECIPE_SYSROOT}/usr/share/dpdk" | 14 | export 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 @@ | |||
| 1 | require secure-obj.inc | 1 | require secure-obj.inc |
| 2 | 2 | ||
| 3 | LIC_FILES_CHKSUM = "file://../README;md5=82b72e88f23cded9dd23f0fb1790b8d2" | 3 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=751419260aa954499f7abaabaa882bbe" |
| 4 | 4 | ||
| 5 | DEPENDS += "virtual/kernel" | 5 | DEPENDS += "virtual/kernel" |
| 6 | 6 | ||
| 7 | inherit module | 7 | inherit module |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/git/securekeydev" | 9 | S = "${UNPACKDIR}/${BP}/securekeydev" |
| 10 | 10 | ||
| 11 | EXTRA_OEMAKE += 'KERNEL_SRC="${STAGING_KERNEL_DIR}"' | 11 | EXTRA_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 @@ | |||
| 1 | DESCRIPTION = "Secure Object" | 1 | DESCRIPTION = "Secure Object" |
| 2 | LICENSE = "BSD" | 2 | LICENSE = "BSD-3-Clause" |
| 3 | 3 | ||
| 4 | DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" | 4 | DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" |
| 5 | RDEPENDS:${PN} = "bash libcrypto libssl" | 5 | RDEPENDS:${PN} = "bash libcrypto libssl" |
| @@ -11,7 +11,7 @@ inherit python3native | |||
| 11 | LDFLAGS += "${TOOLCHAIN_OPTIONS}" | 11 | LDFLAGS += "${TOOLCHAIN_OPTIONS}" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/nxp-qoriq/secure_obj;protocol=https;nobranch=1" | 13 | SRC_URI = "git://github.com/nxp-qoriq/secure_obj;protocol=https;nobranch=1" |
| 14 | SRCREV = "5ff1231f74b4b01744be95a3137a14ad0a483e61" | 14 | SRCREV = "4706a6534ec09f9a46bfe305c5e49badca32b4c6" |
| 15 | 15 | ||
| 16 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 16 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 17 | export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" | 17 | export 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 @@ | |||
| 1 | require secure-obj.inc | 1 | require secure-obj.inc |
| 2 | 2 | ||
| 3 | LIC_FILES_CHKSUM = "file://README;md5=82b72e88f23cded9dd23f0fb1790b8d2" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" |
| 4 | |||
| 5 | S = "${WORKDIR}/git" | ||
| 6 | 4 | ||
| 5 | DEPENDS:remove = " python3-pycryptodomex-native" | ||
| 6 | DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" | ||
| 7 | RDEPENDS:{PN} += "secure-obj-module" | 7 | RDEPENDS:{PN} += "secure-obj-module" |
| 8 | 8 | ||
| 9 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 9 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| @@ -17,14 +17,15 @@ CFLAGS += "${TOOLCHAIN_OPTIONS}" | |||
| 17 | 17 | ||
| 18 | do_compile() { | 18 | do_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 | ||
| 30 | do_install() { | 31 | do_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 | " |
| 13 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" | 13 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"' | 15 | EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} EXTRA_LDFLAGS="${LDFLAGS}"' |
| 18 | 16 | ||
| 19 | export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" | 17 | export 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 | " |
| 13 | SRC_URI[TestFloat.md5sum] = "4dc889319ae1e0c5381ec511f784553a" | ||
| 14 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" | 13 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" |
| 15 | SRC_URI[SoftFloat.md5sum] = "b4a58b5c941f1a2317e4c2500086e3fa" | ||
| 16 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" | 14 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" |
| 17 | 15 | ||
| 18 | S = "${WORKDIR}/TestFloat-2a" | 16 | S = "${UNPACKDIR}/TestFloat-2a" |
| 19 | 17 | ||
| 20 | do_unpack2(){ | 18 | do_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 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 19 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 22 | 20 | ||
| 23 | do_compile:prepend() { | 21 | do_compile:prepend() { |
