mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-18 10:05:34 +00:00
Full changelog: https://github.com/raspberrypi/firmware/compare/1.20241126...1.20250305 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 2804cfe553c8cb67be08599407030d522862abcb)
58 lines
1.8 KiB
Makefile
58 lines
1.8 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=bcm27xx-gpu-fw
|
|
PKG_VERSION:=2025.03.05
|
|
PKG_VERSION_REAL:=1.$(subst .,,$(PKG_VERSION))
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=raspi-firmware_$(PKG_VERSION_REAL).orig.tar.xz
|
|
PKG_SOURCE_URL:=https://github.com/raspberrypi/firmware/releases/download/$(PKG_VERSION_REAL)
|
|
PKG_HASH:=f697079cd15389c0d8650283eb911c53a64b22550138704eb50e1145e8330b03
|
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
TAR_OPTIONS+=--strip-components 1
|
|
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
|
|
|
|
define Package/bcm27xx-gpu-fw
|
|
SECTION:=boot
|
|
CATEGORY:=Boot Loaders
|
|
DEPENDS:=@TARGET_bcm27xx
|
|
TITLE:=bcm27xx-gpu-fw
|
|
DEFAULT:=y if TARGET_bcm27xx
|
|
endef
|
|
|
|
define Package/bcm27xx-gpu-fw/description
|
|
GPU and kernel boot firmware for bcm27xx.
|
|
endef
|
|
|
|
define Build/Compile
|
|
true
|
|
endef
|
|
|
|
define Package/bcm27xx-gpu-fw/install
|
|
true
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(CP) $(PKG_BUILD_DIR)/boot/bootcode.bin $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/LICENCE.broadcom $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start_cd.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start_x.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start4.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start4cd.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/start4x.elf $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup.dat $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup_cd.dat $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup_x.dat $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup4.dat $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup4cd.dat $(KERNEL_BUILD_DIR)
|
|
$(CP) $(PKG_BUILD_DIR)/boot/fixup4x.dat $(KERNEL_BUILD_DIR)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,bcm27xx-gpu-fw))
|