2012-07-24 20:39:17 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
2020-02-08 20:58:55 +00:00
|
|
|
PKG_NAME:=bcm27xx-gpu-fw
|
2024-10-30 23:25:41 +00:00
|
|
|
PKG_VERSION:=2024.10.08
|
|
|
|
PKG_VERSION_REAL:=1.$(subst .,,$(PKG_VERSION))
|
2024-11-01 20:44:43 +00:00
|
|
|
PKG_RELEASE:=2
|
2012-07-24 20:39:17 +00:00
|
|
|
|
2024-10-30 23:25:41 +00:00
|
|
|
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:=11e7bedcd0f52729bbc82ae8de3cb3f52eb4ae3d6bdb3e11fbfdbea9c4a2b1c3
|
2012-07-24 20:39:17 +00:00
|
|
|
|
2016-04-26 21:09:12 +00:00
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
|
2012-07-24 20:39:17 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2024-10-30 23:25:41 +00:00
|
|
|
TAR_OPTIONS+=--strip-components 1
|
|
|
|
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
|
2019-07-09 18:17:31 +00:00
|
|
|
|
2020-02-08 20:58:55 +00:00
|
|
|
define Package/bcm27xx-gpu-fw
|
2012-07-24 20:39:17 +00:00
|
|
|
SECTION:=boot
|
|
|
|
CATEGORY:=Boot Loaders
|
2020-02-08 20:58:55 +00:00
|
|
|
DEPENDS:=@TARGET_bcm27xx
|
|
|
|
TITLE:=bcm27xx-gpu-fw
|
|
|
|
DEFAULT:=y if TARGET_bcm27xx
|
2012-07-24 20:39:17 +00:00
|
|
|
endef
|
|
|
|
|
2020-02-08 20:58:55 +00:00
|
|
|
define Package/bcm27xx-gpu-fw/description
|
2024-10-30 23:25:41 +00:00
|
|
|
GPU and kernel boot firmware for bcm27xx.
|
2016-04-01 11:37:33 +00:00
|
|
|
endef
|
|
|
|
|
2012-07-24 20:39:17 +00:00
|
|
|
define Build/Compile
|
2015-05-29 11:28:54 +00:00
|
|
|
true
|
|
|
|
endef
|
|
|
|
|
2024-11-01 20:44:43 +00:00
|
|
|
define Package/bcm27xx-gpu-fw/install
|
|
|
|
true
|
|
|
|
endef
|
|
|
|
|
2015-02-11 13:50:40 +00:00
|
|
|
define Build/InstallDev
|
2024-10-30 23:25:41 +00:00
|
|
|
$(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)
|
2015-02-11 13:50:40 +00:00
|
|
|
endef
|
|
|
|
|
2020-02-08 20:58:55 +00:00
|
|
|
$(eval $(call BuildPackage,bcm27xx-gpu-fw))
|