]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
bcm27xx: do not install bcm27xx-gpu-fw on bcm2712
authorJoshua Covington <joshuacov@gmail.com>
Mon, 22 Jun 2026 21:55:36 +0000 (21:55 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 7 Jul 2026 06:48:41 +0000 (08:48 +0200)
bcm2712 uses a dedicated eeprom chip with closed-source blobs
provided via rpi-eeprom which is part of the bcm27xx-utils.
No need to install the old firmware files on this target.

Signed-off-by: Joshua Covington <joshuacov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23703
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/bcm27xx/Makefile
target/linux/bcm27xx/image/Makefile

index 2a4e4921fcee6c75235da03f8985983dfbab5e62..46a3df5aa8a3b9ce42772f75319af3347de5c4c9 100644 (file)
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/target.mk
 
 DEFAULT_PACKAGES := $(filter-out urngd,$(DEFAULT_PACKAGES))
 DEFAULT_PACKAGES += \
-       bcm27xx-gpu-fw bcm27xx-utils \
+       $(if $(CONFIG_TARGET_bcm27xx_bcm2712),,bcm27xx-gpu-fw) bcm27xx-utils \
        kmod-usb-hid \
        kmod-sound-core kmod-sound-arm-bcm2835 \
        kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
index 95a2d25be59fdc6901ad442bb93e0bd018ca7b3f..4d85ff6cbec0c659799eb33303fd98de6e4ff219 100644 (file)
@@ -23,7 +23,7 @@ define Build/boot-common
        rm -f $@.boot
        mkfs.fat -n boot -C $@.boot $(FAT32_BLOCKS)
        mcopy -i $@.boot $(KDIR)/COPYING.linux ::
-       mcopy -i $@.boot $(KDIR)/LICENCE.broadcom ::
+       $(if $(CONFIG_PACKAGE_bcm27xx-gpu-fw),mcopy -i $@.boot $(KDIR)/LICENCE.broadcom ::,)
        mcopy -i $@.boot $@-cmdline.txt ::cmdline.txt
        mcopy -i $@.boot config.txt ::
        mcopy -i $@.boot distroconfig.txt ::