From d61f81830d3ef915bd62e46198027b2269140343 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Sun, 18 Oct 2026 23:44:14 +0100 Subject: [PATCH] linux-firmware-rpidistro: package per machine The cyfmac43455-sdio.bin link depends on CYFMAC43455_SDIO_FIRMWARE, which differs for raspberrypi5 based machines. As an allarch recipe, machines sharing a TMPDIR produced conflicting packages for the same "all" architecture (yocto-check-layer test_machine_signatures). Signed-off-by: Andrei Gherzan --- .../linux-firmware-rpidistro_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb index 5e042fb..71a31c6 100644 --- a/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb +++ b/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb @@ -21,7 +21,7 @@ SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree;branch=bookworm;protocol SRCREV = "c9d3ae6584ab79d19a4f94ccf701e888f9f87a53" PV = "20240709-2~bpo12+1+rpt3" -inherit allarch +INHIBIT_DEFAULT_DEPS = "1" do_configure[noexec] = "1" do_compile[noexec] = "1" @@ -55,6 +55,8 @@ do_install() { install -m 0644 debian/rpi-brcmfmac.conf ${D}${sysconfdir}/modprobe.d/ } +PACKAGE_ARCH = "${MACHINE_ARCH}" + PACKAGES = "\ ${PN}-bcm43430 \ ${PN}-bcm43436 \ @@ -117,6 +119,5 @@ RREPLACES:${PN}-bcm43439 = "linux-firmware-bcm43439" RREPLACES:${PN}-bcm43455 = "linux-firmware-bcm43455" RREPLACES:${PN}-bcm43456 = "linux-firmware-bcm43456" -# Firmware files are generally not run on the CPU, so they can be -# allarch despite being architecture specific +# Firmware files are not run on the CPU INSANE_SKIP = "arch"