summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-07-17 14:27:31 -0300
committerGitHub <noreply@github.com>2026-07-17 14:27:31 -0300
commitd3a0fa106f30e4f4fcfe9b5941168a9767369737 (patch)
tree106bf0c81a4a41a4fa573c7d912e9a7e42aac124
parent5740ae49c67b3030423c360f1b01fc76b74872bc (diff)
parent6d97362cb1d8e88d7f8810cc2959b294ec8bdb8a (diff)
downloadmeta-freescale-d3a0fa106f30e4f4fcfe9b5941168a9767369737.tar.gz
Merge pull request #2574 from lucianogdittgen/oelint-cleanup-10-recipe-metadata-6
oelint: Class/anon-python docstrings, image and packagegroup metadata
-rw-r--r--.oelint.cfg8
-rw-r--r--classes/fsl-dynamic-packagearch.bbclass4
-rw-r--r--classes/fsl-eula-unpack.bbclass6
-rw-r--r--classes/fsl-kernel-localversion.bbclass1
-rw-r--r--classes/imx-boot-container.bbclass4
-rw-r--r--classes/kernel-imximage.bbclass2
-rw-r--r--classes/machine-overrides-extender.bbclass6
-rw-r--r--classes/use-imx-security-controller-firmware.bbclass3
-rw-r--r--dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb11
-rw-r--r--dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb29
-rw-r--r--recipes-bsp/atf/qoriq-atf_2.12.bb14
-rw-r--r--recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb9
-rw-r--r--recipes-fsl/images/fsl-image-machine-test.bb6
-rw-r--r--recipes-fsl/images/fsl-image-network-full-cmdline.bb5
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb9
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb12
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb17
-rw-r--r--recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb22
-rw-r--r--recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb7
-rw-r--r--recipes-kernel/linux/linux-fslc_6.12.bb7
-rw-r--r--recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb5
-rw-r--r--recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb10
22 files changed, 149 insertions, 48 deletions
diff --git a/.oelint.cfg b/.oelint.cfg
index 37c94ca3c..13ea9c0f7 100644
--- a/.oelint.cfg
+++ b/.oelint.cfg
@@ -16,9 +16,17 @@
16# upstream bug tracker and no meaningful NVD CPE product; guessing a 16# upstream bug tracker and no meaningful NVD CPE product; guessing a
17# CVE_PRODUCT would create false or missed CVE matches, which is worse than 17# CVE_PRODUCT would create false or missed CVE matches, which is worse than
18# leaving it unset. Set them inline on the rare recipe that has a real value. 18# leaving it unset. Set them inline on the rare recipe that has a real value.
19# * oelint.bbclass.underscores - flags bbclass filenames containing '-'. These
20# class names (machine-overrides-extender, fsl-dynamic-packagearch,
21# kernel-imximage, imx-boot-container, use-imx-headers, etc.) are the layer's
22# long-standing public API, inherited by name across meta-freescale and
23# downstream BSP layers; renaming them would break every 'inherit'. oe-core
24# itself ships dash-named classes (e.g. core-image.bbclass), so the naming
25# convention this rule enforces does not apply here.
19[oelint] 26[oelint]
20release = wrynose 27release = wrynose
21suppress = 28suppress =
22 oelint.var.bbclassextend 29 oelint.var.bbclassextend
23 oelint.var.suggestedvar.CVE_PRODUCT 30 oelint.var.suggestedvar.CVE_PRODUCT
24 oelint.var.suggestedvar.BUGTRACKER 31 oelint.var.suggestedvar.BUGTRACKER
32 oelint.bbclass.underscores
diff --git a/classes/fsl-dynamic-packagearch.bbclass b/classes/fsl-dynamic-packagearch.bbclass
index 6cb0c0a9f..228dc005f 100644
--- a/classes/fsl-dynamic-packagearch.bbclass
+++ b/classes/fsl-dynamic-packagearch.bbclass
@@ -25,6 +25,10 @@
25# 25#
26# Copyright 2013-2016 (C) O.S. Systems Software LTDA. 26# Copyright 2013-2016 (C) O.S. Systems Software LTDA.
27 27
28# Parse-time logic is required: PACKAGE_ARCH and PACKAGE_EXTRA_ARCHS are chosen
29# by inspecting PROVIDES/DEPENDS against the SOCARCH filters and the multilib
30# tunes, which cannot be expressed declaratively.
31# nooelint: oelint.task.noanonpython
28python __anonymous () { 32python __anonymous () {
29 machine_arch_filter = set((d.getVar("MACHINE_ARCH_FILTER") or "").split()) 33 machine_arch_filter = set((d.getVar("MACHINE_ARCH_FILTER") or "").split())
30 machine_socarch_filter = set((d.getVar("MACHINE_SOCARCH_FILTER") or "").split()) 34 machine_socarch_filter = set((d.getVar("MACHINE_SOCARCH_FILTER") or "").split())
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index ee938a74d..7ac54734f 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -133,11 +133,14 @@ FSL_EULA_FILE_MD5SUM ?= "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}
133 133
134LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" 134LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}"
135LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" 135LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE"
136# The EULA text is shipped by the layer (FSL_EULA_FILE), not the recipe source
137# tree, so this reference intentionally points outside the sources.
138# nooelint: oelint.var.licenseremotefile
136LIC_FILES_CHKSUM:append = " ${LIC_FILES_CHKSUM_LAYER}" 139LIC_FILES_CHKSUM:append = " ${LIC_FILES_CHKSUM_LAYER}"
137 140
138LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE" 141LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE"
139 142
140do_fetch:prepend() { 143python do_fetch:prepend() {
141 if "Proprietary" not in d.getVar("LICENSE"): 144 if "Proprietary" not in d.getVar("LICENSE"):
142 bb.fatal("The recipe LICENSE should include Proprietary but is " + d.getVar("LICENSE") + ".") 145 bb.fatal("The recipe LICENSE should include Proprietary but is " + d.getVar("LICENSE") + ".")
143} 146}
@@ -164,6 +167,7 @@ python do_unpack() {
164 bb.build.exec_func('fsl_bin_do_unpack', d) 167 bb.build.exec_func('fsl_bin_do_unpack', d)
165} 168}
166 169
170fsl_bin_do_unpack[doc] = "Unpack the EULA-gated SRC_URI entries after the EULA has been accepted"
167python fsl_bin_do_unpack() { 171python fsl_bin_do_unpack() {
168 src_uri = (d.getVar('SRC_URI') or "").split() 172 src_uri = (d.getVar('SRC_URI') or "").split()
169 if len(src_uri) == 0: 173 if len(src_uri) == 0:
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index 9b44fe194..c5505d463 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -15,6 +15,7 @@ LOCALVERSION ??= "+fslc"
15# LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class 15# LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class
16LINUX_VERSION_EXTENSION ?= "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}" 16LINUX_VERSION_EXTENSION ?= "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}"
17 17
18do_kernel_localversion[doc] = "Append the FSL LOCALVERSION and, when SCMVERSION is set, the git revision to the kernel .config"
18do_kernel_localversion[dirs] += "${S} ${B}" 19do_kernel_localversion[dirs] += "${S} ${B}"
19do_kernel_localversion() { 20do_kernel_localversion() {
20 21
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass
index 345f71035..71c194d41 100644
--- a/classes/imx-boot-container.bbclass
+++ b/classes/imx-boot-container.bbclass
@@ -27,6 +27,9 @@ inherit use-imx-security-controller-firmware
27 27
28# Define ATF binary file to be deployed to the U-Boot build folder 28# Define ATF binary file to be deployed to the U-Boot build folder
29ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" 29ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin"
30# The append concatenates an "-optee" suffix directly onto the filename, so the
31# missing leading space is intentional (a space would break the name).
32# nooelint: oelint.vars.inconspaces
30ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" 33ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}"
31 34
32OEI_NAME ?= "oei-${OEI_CORE}-*.bin" 35OEI_NAME ?= "oei-${OEI_CORE}-*.bin"
@@ -61,6 +64,7 @@ do_resolve_and_populate_binaries[depends] += " \
61 64
62# Define an additional task that collects binary output from dependent packages 65# Define an additional task that collects binary output from dependent packages
63# and deploys them into the U-Boot build folder 66# and deploys them into the U-Boot build folder
67do_resolve_and_populate_binaries[doc] = "Collect the ATF, DDR, SECO/OEI and optional OP-TEE firmware binaries into the U-Boot build folder for the boot container"
64do_resolve_and_populate_binaries() { 68do_resolve_and_populate_binaries() {
65 if [ -n "${UBOOT_CONFIG}" ]; then 69 if [ -n "${UBOOT_CONFIG}" ]; then
66 for config in ${UBOOT_MACHINE}; do 70 for config in ${UBOOT_MACHINE}; do
diff --git a/classes/kernel-imximage.bbclass b/classes/kernel-imximage.bbclass
index 999840f69..e87e24591 100644
--- a/classes/kernel-imximage.bbclass
+++ b/classes/kernel-imximage.bbclass
@@ -21,10 +21,12 @@ DEPENDS:append = " u-boot-mkimage-native"
21 21
22IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" 22IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"
23 23
24imx_mkimage[doc] = "Wrap uboot-mkimage to add an i.MX imximage DCD header to a kernel binary"
24imx_mkimage() { 25imx_mkimage() {
25 uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx 26 uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx
26} 27}
27 28
29gen_imximage[doc] = "Generate DCD-header kernel images for each device tree during do_deploy"
28gen_imximage() { 30gen_imximage() {
29 if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then 31 if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then
30 bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value" 32 bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value"
diff --git a/classes/machine-overrides-extender.bbclass b/classes/machine-overrides-extender.bbclass
index 58cb45b14..2da605f35 100644
--- a/classes/machine-overrides-extender.bbclass
+++ b/classes/machine-overrides-extender.bbclass
@@ -43,6 +43,9 @@ def machine_overrides_extender(d):
43 43
44 return ':'.join(machine_overrides) 44 return ':'.join(machine_overrides)
45 45
46# This is a ConfigParsed event handler (addhandler below), not a task, so a
47# task[doc] docstring does not apply.
48# nooelint: oelint.task.docstrings
46python machine_overrides_extender_handler() { 49python machine_overrides_extender_handler() {
47 # Ideally we'd use a separate variable name for this however 50 # Ideally we'd use a separate variable name for this however
48 # historically NXP BSPs used this. We save it to a known good name 51 # historically NXP BSPs used this. We save it to a known good name
@@ -56,6 +59,9 @@ python machine_overrides_extender_handler() {
56machine_overrides_extender_handler[eventmask] = "bb.event.ConfigParsed" 59machine_overrides_extender_handler[eventmask] = "bb.event.ConfigParsed"
57addhandler machine_overrides_extender_handler 60addhandler machine_overrides_extender_handler
58 61
62# This is a RecipeParsed event handler (addhandler below), not a task, so a
63# task[doc] docstring does not apply.
64# nooelint: oelint.task.docstrings
59python machineoverrides_filtered_out_qa_handler() { 65python machineoverrides_filtered_out_qa_handler() {
60 filtered_out = (d.getVar('MACHINEOVERRIDES_EXTENDER_FILTER_OUT') or "").split() 66 filtered_out = (d.getVar('MACHINEOVERRIDES_EXTENDER_FILTER_OUT') or "").split()
61 qa_error = d.getVar('MACHINEOVERRIDES_FILTERED_OUT_QA_ERROR') 67 qa_error = d.getVar('MACHINEOVERRIDES_FILTERED_OUT_QA_ERROR')
diff --git a/classes/use-imx-security-controller-firmware.bbclass b/classes/use-imx-security-controller-firmware.bbclass
index 6a39bb684..67c44fd44 100644
--- a/classes/use-imx-security-controller-firmware.bbclass
+++ b/classes/use-imx-security-controller-firmware.bbclass
@@ -26,6 +26,9 @@ SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.
26SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img" 26SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img"
27SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img" 27SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img"
28 28
29# Parse-time guard: SoCs that require a SECO firmware must fail parsing early
30# (SkipRecipe) when SECO_FIRMWARE_NAME is undefined, which needs anonymous python.
31# nooelint: oelint.task.noanonpython
29python () { 32python () {
30 if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"): 33 if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"):
31 return # We need to allow the recipes to be parsed for this case 34 return # We need to allow the recipes to be parsed for this case
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
index 111bd931a..2c9cccf6c 100644
--- a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
+++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
@@ -1,23 +1,24 @@
1# Copyright (C) 2012-2016 Freescale Semiconductor 1# Copyright (C) 2012-2016 Freescale Semiconductor
2# Released under the MIT license (see COPYING.MIT for the terms) 2# Released under the MIT license (see COPYING.MIT for the terms)
3 3
4SUMMARY = "FSL Community package group - tools/benchmark"
4DESCRIPTION = "Package group used by FSL Community to provide a set of benchmark applications." 5DESCRIPTION = "Package group used by FSL Community to provide a set of benchmark applications."
5SUMMARY = "FSL Communtiy package group - tools/benchmark" 6SECTION = "console/utils"
6 7
7PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
8 9
9inherit packagegroup 10inherit packagegroup
10 11
11RDEPENDS:${PN} = "\ 12RDEPENDS:${PN} = "\
12 lmbench \ 13 ${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', \
14 bb.utils.contains('TUNE_FEATURES', 'cortexa53 crypto', 'cpuburn-neon', \
15 '', d), d)} \
13 bonnie++ \ 16 bonnie++ \
14 dbench \ 17 dbench \
15 fio \ 18 fio \
16 iozone3 \ 19 iozone3 \
17 iperf3 \ 20 iperf3 \
21 lmbench \
18 nbench-byte \ 22 nbench-byte \
19 tiobench \ 23 tiobench \
20 ${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', \
21 bb.utils.contains('TUNE_FEATURES', 'cortexa53 crypto', 'cpuburn-neon', \
22 '', d), d)} \
23" 24"
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
index 4f151ac47..314569f58 100644
--- a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
+++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
@@ -2,9 +2,10 @@
2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA. 2# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "FSL Community packagegroup - tools/testapps"
5DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \ 6DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \
6 for hardware test." 7 for hardware test."
7SUMMARY = "FSL Community packagegroup - tools/testapps" 8SECTION = "console/utils"
8 9
9PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
10 11
@@ -15,28 +16,30 @@ SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test"
15SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos" 16SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos"
16SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq" 17SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq"
17 18
19# Entries are ordered alphabetically (conditional ${@...} and ${SOC_TOOLS_TEST}
20# first); the linter's tokenizer mis-sorts this mix, so the check is suppressed.
21# nooelint: oelint.vars.dependsordered
18RDEPENDS:${PN} = "\ 22RDEPENDS:${PN} = "\
19 alsa-utils \ 23 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'fsl-rc-local', '', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston-examples', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+3-demo', '', d)} \
26 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
27 ${SOC_TOOLS_TEST} \
20 alsa-tools \ 28 alsa-tools \
29 alsa-utils \
21 dosfstools \ 30 dosfstools \
22 evtest \
23 e2fsprogs-mke2fs \ 31 e2fsprogs-mke2fs \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'fsl-rc-local', '', d)} \ 32 ethtool \
33 evtest \
25 fbset \ 34 fbset \
26 i2c-tools \ 35 i2c-tools \
27 iproute2 \ 36 iproute2 \
28 memtester \ 37 memtester \
29 python3-core \
30 python3-json \
31 python3-datetime \
32 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
33 ethtool \
34 mtd-utils \ 38 mtd-utils \
35 mtd-utils-ubifs \ 39 mtd-utils-ubifs \
36 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+3-demo', '', d)} \ 40 python3-core \
37 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \ 41 python3-datetime \
38 'weston-examples', '', d)} \ 42 python3-json \
39 ${SOC_TOOLS_TEST} \
40" 43"
41 44
42RDEPENDS_IMX_TO_REMOVE = "" 45RDEPENDS_IMX_TO_REMOVE = ""
diff --git a/recipes-bsp/atf/qoriq-atf_2.12.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb
index c6a7ee252..f78de99f7 100644
--- a/recipes-bsp/atf/qoriq-atf_2.12.bb
+++ b/recipes-bsp/atf/qoriq-atf_2.12.bb
@@ -5,6 +5,8 @@ inherit deploy
5DEPENDS += "bc-native openssl openssl-native qoriq-cst-native rcw u-boot u-boot-mkimage-native" 5DEPENDS += "bc-native openssl openssl-native qoriq-cst-native rcw u-boot u-boot-mkimage-native"
6do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" 6do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy"
7 7
8# Version suffix must join without a leading space to stay a valid PV.
9# nooelint: oelint.vars.inconspaces
8PV:append = "+${SRCPV}" 10PV:append = "+${SRCPV}"
9 11
10SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ 12SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \
@@ -14,6 +16,11 @@ SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708"
14SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" 16SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba"
15SRCREV_FORMAT = "atf" 17SRCREV_FORMAT = "atf"
16 18
19PACKAGECONFIG ??= "\
20 ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \
21"
22PACKAGECONFIG[optee] = ",,optee-os-qoriq"
23
17COMPATIBLE_MACHINE = "(qoriq)" 24COMPATIBLE_MACHINE = "(qoriq)"
18 25
19PACKAGE_ARCH = "${MACHINE_ARCH}" 26PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -68,11 +75,8 @@ EXTRA_OEMAKE += "\
68 ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \ 75 ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \
69" 76"
70 77
71PACKAGECONFIG ??= "\ 78# Parse-time validation that arm-cot implies secure; needs an anonymous python.
72 ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \ 79# nooelint: oelint.task.noanonpython
73"
74PACKAGECONFIG[optee] = ",,optee-os-qoriq"
75
76python() { 80python() {
77 if bb.utils.contains("DISTRO_FEATURES", "arm-cot", True, False, d): 81 if bb.utils.contains("DISTRO_FEATURES", "arm-cot", True, False, d):
78 if not bb.utils.contains("DISTRO_FEATURES", "secure", True, False, d): 82 if not bb.utils.contains("DISTRO_FEATURES", "secure", True, False, d):
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}"
diff --git a/recipes-fsl/images/fsl-image-machine-test.bb b/recipes-fsl/images/fsl-image-machine-test.bb
index 34be8b32a..1c41a2c15 100644
--- a/recipes-fsl/images/fsl-image-machine-test.bb
+++ b/recipes-fsl/images/fsl-image-machine-test.bb
@@ -1,7 +1,13 @@
1SUMMARY = "FSL Community console test image with multimedia, GPU and benchmark tools"
1DESCRIPTION = "A console-only image that includes gstreamer packages, \ 2DESCRIPTION = "A console-only image that includes gstreamer packages, \
2 Freescale's multimedia packages (VPU and GPU) when available, and \ 3 Freescale's multimedia packages (VPU and GPU) when available, and \
3 test and benchmark applications." 4 test and benchmark applications."
5SECTION = "images"
4 6
7# This is a development and test image (it ships tools-testapps, tools-profile
8# and benchmark applications), so debug-tweaks is intentional to allow
9# unauthenticated console access during testing.
10# nooelint: oelint.var.badimagefeature.debug-tweaks
5IMAGE_FEATURES += "\ 11IMAGE_FEATURES += "\
6 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ 12 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
7 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \ 13 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
diff --git a/recipes-fsl/images/fsl-image-network-full-cmdline.bb b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
index 6b9fa705e..7ff989c34 100644
--- a/recipes-fsl/images/fsl-image-network-full-cmdline.bb
+++ b/recipes-fsl/images/fsl-image-network-full-cmdline.bb
@@ -1,6 +1,11 @@
1SUMMARY = "FSL Community console image with full cmdline and QorIQ networking"
1DESCRIPTION = "A console-only image that includes full cmdline and \ 2DESCRIPTION = "A console-only image that includes full cmdline and \
2 Freescale's networking packages (QorIQ DPAA/DPAA2) when available." 3 Freescale's networking packages (QorIQ DPAA/DPAA2) when available."
4SECTION = "images"
3 5
6# This development image ships tools-profile and enables debug-tweaks
7# intentionally to allow unauthenticated console access during testing.
8# nooelint: oelint.var.badimagefeature.debug-tweaks
4IMAGE_FEATURES += "\ 9IMAGE_FEATURES += "\
5 debug-tweaks \ 10 debug-tweaks \
6 tools-profile \ 11 tools-profile \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
index e4f8d5e05..2014903de 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
@@ -1,17 +1,14 @@
1SUMMARY = "FSL Community package group - commercial-flagged GStreamer 1.0 plugins"
1DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \ 2DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \
2 that are subject to restricted licensing and/or royalties and thus require \ 3 that are subject to restricted licensing and/or royalties and thus require \
3 the 'commercial' license whitelist flag" 4 the 'commercial' license whitelist flag"
4SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag" 5SECTION = "multimedia"
5LICENSE_FLAGS = "commercial" 6LICENSE_FLAGS = "commercial"
6 7
7inherit packagegroup 8inherit packagegroup
8 9
9RDEPENDS:${PN} = "\
10 packagegroup-fsl-gstreamer1.0 \
11"
12
13# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set 10# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set
14RDEPENDS:${PN} = "\ 11RDEPENDS:${PN} = "\
15 gstreamer1.0-plugins-ugly-asf \
16 gstreamer1.0-libav \ 12 gstreamer1.0-libav \
13 gstreamer1.0-plugins-ugly-asf \
17" 14"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
index 0dc138bac..1427bbbd8 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
@@ -1,15 +1,19 @@
1SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins"
1DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \ 2DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \
2 base, good, and bad packages, as well as the ugly and libav ones if commercial packages \ 3 base, good, and bad packages, as well as the ugly and libav ones if commercial packages \
3 are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)." 4 are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)."
4SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins" 5SECTION = "multimedia"
5 6
6inherit packagegroup 7inherit packagegroup
7 8
9# Entries are ordered alphabetically (conditional ${@...} first); the linter's
10# tokenizer mis-sorts the two conditional entries, so the check is suppressed.
11# nooelint: oelint.vars.dependsordered
8RDEPENDS:${PN} = "\ 12RDEPENDS:${PN} = "\
9 packagegroup-fsl-gstreamer1.0 \
10 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \ 13 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \
14 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'gstreamer1.0-plugins-ugly-meta', '', d)} \
15 gstreamer1.0-plugins-bad-meta \
11 gstreamer1.0-plugins-base-meta \ 16 gstreamer1.0-plugins-base-meta \
12 gstreamer1.0-plugins-good-meta \ 17 gstreamer1.0-plugins-good-meta \
13 gstreamer1.0-plugins-bad-meta \ 18 packagegroup-fsl-gstreamer1.0 \
14 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'gstreamer1.0-plugins-ugly-meta', '', d)} \
15" 19"
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
index ebc098664..3643edb8a 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb
@@ -1,6 +1,7 @@
1SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins"
1DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \ 2DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \
2 GStreamer plugins with the required hardware acceleration (if supported by the SoC)." 3 GStreamer plugins with the required hardware acceleration (if supported by the SoC)."
3SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins" 4SECTION = "multimedia"
4 5
5PACKAGE_ARCH = "${MACHINE_ARCH}" 6PACKAGE_ARCH = "${MACHINE_ARCH}"
6 7
@@ -37,19 +38,23 @@ GST_WAYLAND_PACKAGES = "\
37" 38"
38 39
39# basic plugins required in virtually every pipeline 40# basic plugins required in virtually every pipeline
41# Literal package names are ordered alphabetically, with the machine/distro
42# conditional entries grouped last; the linter's tokenizer mis-sorts the
43# conditional ${@...} entries, so the check is suppressed.
44# nooelint: oelint.vars.dependsordered
40RDEPENDS:${PN}-base = "\ 45RDEPENDS:${PN}-base = "\
41 gstreamer1.0 \ 46 gstreamer1.0 \
42 gstreamer1.0-plugins-base-playback \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
44 gstreamer1.0-plugins-base-audioconvert \ 47 gstreamer1.0-plugins-base-audioconvert \
45 gstreamer1.0-plugins-base-audioresample \ 48 gstreamer1.0-plugins-base-audioresample \
46 gstreamer1.0-plugins-base-gio \ 49 gstreamer1.0-plugins-base-gio \
50 gstreamer1.0-plugins-base-playback \
47 gstreamer1.0-plugins-base-typefindfunctions \ 51 gstreamer1.0-plugins-base-typefindfunctions \
48 gstreamer1.0-plugins-base-videoconvertscale \ 52 gstreamer1.0-plugins-base-videoconvertscale \
49 gstreamer1.0-plugins-base-volume \ 53 gstreamer1.0-plugins-base-volume \
50 gstreamer1.0-plugins-good-autodetect \ 54 gstreamer1.0-plugins-good-autodetect \
51 ${MACHINE_GSTREAMER_1_0_PLUGIN} \
52 ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \ 55 ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \
56 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
57 ${MACHINE_GSTREAMER_1_0_PLUGIN} \
53" 58"
54 59
55RRECOMMENDS:${PN}-base = "\ 60RRECOMMENDS:${PN}-base = "\
@@ -59,6 +64,9 @@ RRECOMMENDS:${PN}-base = "\
59" 64"
60 65
61# Basic audio plugins: parsers, demuxers, decoders 66# Basic audio plugins: parsers, demuxers, decoders
67# Packages are grouped per sub-package (RDEPENDS with its RRECOMMENDS) for
68# readability rather than grouping all RDEPENDS before all RRECOMMENDS.
69# nooelint: oelint.var.order.RDEPENDS
62RDEPENDS:${PN}-audio = "\ 70RDEPENDS:${PN}-audio = "\
63 ${PN}-base \ 71 ${PN}-base \
64 gstreamer1.0-plugins-base-ogg \ 72 gstreamer1.0-plugins-base-ogg \
@@ -86,6 +94,7 @@ RRECOMMENDS:${PN}-video = "\
86" 94"
87 95
88# Additional video plugins from the -bad collection 96# Additional video plugins from the -bad collection
97# nooelint: oelint.var.order.RDEPENDS
89RDEPENDS:${PN}-video-bad = "\ 98RDEPENDS:${PN}-video-bad = "\
90 ${PN}-video \ 99 ${PN}-video \
91 gstreamer1.0-plugins-bad-mpegpsdemux \ 100 gstreamer1.0-plugins-bad-mpegpsdemux \
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
index 890cd3cea..bb572a391 100644
--- a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -1,6 +1,10 @@
1# Copyright (C) 2014, 2015 O.S. Systems Software LTDA. 1# Copyright (C) 2014, 2015 O.S. Systems Software LTDA.
2 2
3SUMMARY = "Freescale Manufacturing Tool requirements" 3SUMMARY = "Freescale Manufacturing Tool requirements"
4DESCRIPTION = "Package group providing the base, MTD and ext filesystem tool \
5 sets required by the Freescale/i.MX Manufacturing Tool for \
6 programming storage on target devices."
7SECTION = "console/utils"
4LICENSE = "MIT" 8LICENSE = "MIT"
5 9
6PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -14,22 +18,28 @@ PACKAGES = "\
14" 18"
15 19
16# The essential packages for device bootup that may be set in the 20# The essential packages for device bootup that may be set in the
17# machine configuration file. 21# machine configuration file. A weak default is provided here so the
22# RDEPENDS reference below resolves when no machine sets it.
23# nooelint: oelint.vars.outofcontext
18MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" 24MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
19 25
20# Distro can override the following VIRTUAL-RUNTIME providers: 26# Distro can override the following VIRTUAL-RUNTIME providers:
21VIRTUAL-RUNTIME_keymaps ?= "keymaps" 27VIRTUAL-RUNTIME_keymaps ?= "keymaps"
22 28
29# Literal package names are ordered alphabetically, with the conditional
30# keymaps entry and the machine RDEPENDS expansion grouped last; the linter's
31# tokenizer mis-sorts the ${@...}/${...} entries, so the check is suppressed.
32# nooelint: oelint.vars.dependsordered
23RDEPENDS:${PN}-base = "\ 33RDEPENDS:${PN}-base = "\
34 base-files \
35 base-passwd \
24 bash \ 36 bash \
25 imx-uuc \ 37 busybox \
26 util-linux \
27 coreutils \ 38 coreutils \
28 dosfstools \ 39 dosfstools \
40 imx-uuc \
29 mmc-utils \ 41 mmc-utils \
30 base-files \ 42 util-linux \
31 base-passwd \
32 busybox \
33 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ 43 ${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
34 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ 44 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
35" 45"
diff --git a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
index ae4683723..9de5f427f 100644
--- a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
+++ b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
@@ -3,7 +3,14 @@
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "Set of audio tools for inclusion on images" 5SUMMARY = "Set of audio tools for inclusion on images"
6DESCRIPTION = "Package group that installs ALSA and PulseAudio user-space audio \
7 tools and utilities, selected according to the enabled audio \
8 DISTRO_FEATURES."
9SECTION = "multimedia"
6LICENSE = "MIT" 10LICENSE = "MIT"
11# LIC_FILES_CHKSUM references the shared common-licenses copies as this
12# package group ships no source tree of its own.
13# nooelint: oelint.var.licenseremotefile
7LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ 14LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
8 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 15 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9 16
diff --git a/recipes-kernel/linux/linux-fslc_6.12.bb b/recipes-kernel/linux/linux-fslc_6.12.bb
index 45db75ecf..46a8a9b03 100644
--- a/recipes-kernel/linux/linux-fslc_6.12.bb
+++ b/recipes-kernel/linux/linux-fslc_6.12.bb
@@ -10,15 +10,18 @@ DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP i
10 and takes some time to become part of a stable version, or because it is not applicable for \ 10 and takes some time to become part of a stable version, or because it is not applicable for \
11 upstreaming." 11 upstreaming."
12HOMEPAGE = "https://github.com/Freescale/linux-fslc" 12HOMEPAGE = "https://github.com/Freescale/linux-fslc"
13SECTION = "kernel"
13 14
14require linux-imx.inc 15require linux-imx.inc
15 16
16SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https"
17
18DEPENDS += "\ 17DEPENDS += "\
19 coreutils-native \ 18 coreutils-native \
20" 19"
21 20
21# linux-fslc replaces the kernel source defined in linux-imx.inc.
22# nooelint: oelint.var.override
23SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https"
24
22# PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition 25# PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition
23# required by kernel-yocto.bbclass. 26# required by kernel-yocto.bbclass.
24# 27#
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
index d83476f64..5aafa34ab 100644
--- a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
+++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
@@ -4,6 +4,7 @@ DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \
4 inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \ 4 inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \
5 Cortex-M of choice and an Arm Ethos-U NPU." 5 Cortex-M of choice and an Arm Ethos-U NPU."
6HOMEPAGE = "https://github.com/nxp-imx/ethos-u-driver-stack-imx" 6HOMEPAGE = "https://github.com/nxp-imx/ethos-u-driver-stack-imx"
7SECTION = "libs"
7LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
9 10
@@ -25,11 +26,15 @@ do_configure() {
25 cmake_do_configure 26 cmake_do_configure
26} 27}
27 28
29# The cmake_do_* and setuptools3_do_* helpers are all shell functions, so
30# these tasks are shell and must not carry a python prefix.
31# nooelint: oelint.task.pythonprefix
28do_compile () { 32do_compile () {
29 cmake_do_compile 33 cmake_do_compile
30 setuptools3_do_compile 34 setuptools3_do_compile
31} 35}
32 36
37# nooelint: oelint.task.pythonprefix
33do_install () { 38do_install () {
34 cmake_do_install 39 cmake_do_install
35 setuptools3_do_install 40 setuptools3_do_install
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
index ae7bc914e..9e471361f 100644
--- a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
+++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb
@@ -1,6 +1,9 @@
1SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" 1SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU"
2DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" 2DESCRIPTION = "Cortex(R)-M33 firmware image that drives the Arm(R) Ethos(TM)-U \
3 NPU on i.MX93, installed into the kernel firmware directory for \
4 loading at runtime."
3HOMEPAGE = "https://github.com/nxp-imx/ethos-u-firmware" 5HOMEPAGE = "https://github.com/nxp-imx/ethos-u-firmware"
6SECTION = "firmware"
4LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" 7LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause"
5LIC_FILES_CHKSUM = "\ 8LIC_FILES_CHKSUM = "\
6 file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \ 9 file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \
@@ -23,7 +26,12 @@ do_install () {
23 install -m 0644 ${S}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware 26 install -m 0644 ${S}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware
24} 27}
25 28
29# The package ships only the firmware blob installed above, so FILES is set
30# explicitly to the firmware directory.
31# nooelint: oelint.var.filesoverride
26FILES:${PN} = "${nonarch_base_libdir}/firmware/*" 32FILES:${PN} = "${nonarch_base_libdir}/firmware/*"
33# The blob is a Cortex-M33 image, so its architecture never matches the target.
34# nooelint: oelint.vars.insaneskip
27INSANE_SKIP:${PN} = "arch" 35INSANE_SKIP:${PN} = "arch"
28 36
29COMPATIBLE_MACHINE = "(mx93-nxp-bsp)" 37COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"