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 <andrei@gherzan.com>
This commit is contained in:
Andrei Gherzan committed 2026-10-19 04:47:40 +01:00
1 parent 15baf60b84
commit d61f81830d
1 file changed
+4 -3
@@ -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"