bcm27xx-gpu-fw: fix version for APK
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 24 Oct 2024 21:23:03 +0000 (23:23 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:52 +0000 (00:07 +0100)
Refactor version of bcm27xx-gpu-fw for APK.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/bcm27xx-gpu-fw/Makefile

index 878574ea5cdac6ccbe49bf69802131a05f4bb4e3..c6d53de7c7806a55f3f6b47eb9c701e6b6315aab 100644 (file)
@@ -2,17 +2,18 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=bcm27xx-gpu-fw
-PKG_VERSION:=2024-04-24
-PKG_RELEASE:=969420b4121b522ab33c5001074cc4c2547dafaf
+PKG_RELEASE_HASH:=969420b4121b522ab33c5001074cc4c2547dafaf
+PKG_VERSION:=2024.04.24~$(PKG_RELEASE_HASH)
+PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_RELEASE)
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_RELEASE_HASH)
 
 PKG_FLAGS:=nonshared
 
 include $(INCLUDE_DIR)/package.mk
 
-RPI_FIRMWARE_URL:=@GITHUB/raspberrypi/firmware/$(PKG_RELEASE)/boot/
-RPI_FIRMWARE_FILE:=rpi-firmware-$(PKG_RELEASE)
+RPI_FIRMWARE_URL:=@GITHUB/raspberrypi/firmware/$(PKG_RELEASE_HASH)/boot/
+RPI_FIRMWARE_FILE:=rpi-firmware-$(PKG_RELEASE_HASH)
 
 define Download/LICENCE_broadcom
   FILE:=$(RPI_FIRMWARE_FILE)-LICENCE.broadcom