From: Joshua Covington Date: Mon, 22 Jun 2026 21:55:36 +0000 (+0000) Subject: bcm27xx: do not install bcm27xx-gpu-fw on bcm2712 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b01351ad6cb548a0b7603a984e45f55dcae1bc9;p=thirdparty%2Fopenwrt.git bcm27xx: do not install bcm27xx-gpu-fw on bcm2712 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 Link: https://github.com/openwrt/openwrt/pull/23703 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/bcm27xx/Makefile b/target/linux/bcm27xx/Makefile index 2a4e4921fce..46a3df5aa8a 100644 --- a/target/linux/bcm27xx/Makefile +++ b/target/linux/bcm27xx/Makefile @@ -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 \ diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile index 95a2d25be59..4d85ff6cbec 100644 --- a/target/linux/bcm27xx/image/Makefile +++ b/target/linux/bcm27xx/image/Makefile @@ -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 ::