summaryrefslogtreecommitdiff
path: root/package/kernel/brcm2708-gpu-fw/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-11 13:50:40 +0000
committerJohn Crispin <john@openwrt.org>2015-02-11 13:50:40 +0000
commit173809b65097f5c93058a75b9cb788be9cd6dbbf (patch)
tree65450931c4541703005ec9310ae00a4b756eb34b /package/kernel/brcm2708-gpu-fw/Makefile
parenteaec1e41b12fbe608f0f99c0de9b1455236a2be5 (diff)
downloadmtk-20170518-173809b65097f5c93058a75b9cb788be9cd6dbbf.zip
mtk-20170518-173809b65097f5c93058a75b9cb788be9cd6dbbf.tar.gz
mtk-20170518-173809b65097f5c93058a75b9cb788be9cd6dbbf.tar.bz2
brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44406
Diffstat (limited to 'package/kernel/brcm2708-gpu-fw/Makefile')
-rw-r--r--package/kernel/brcm2708-gpu-fw/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile
index e202002..3fe2a7f 100644
--- a/package/kernel/brcm2708-gpu-fw/Makefile
+++ b/package/kernel/brcm2708-gpu-fw/Makefile
@@ -7,24 +7,25 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
-PKG_NAME:=brcm2708-gpu-fw-boot
-PKG_VERSION:=2015-02-07
-PKG_RELEASE:=$(PKG_SOURCE_VERSION)
-PKG_MD5SUM:=f198d5466ec412424f3ca77703f29d15
+PKG_NAME:=brcm2708-gpu-fw
+PKG_REV:=38aa676b044f8de46aedb4bd972538a7ad6a3ce1
+PKG_VERSION:=20150210
+PKG_RELEASE:=1
-PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources/
-# PKG_SOURCE_SUBDIR:=$(PKG_NAME)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+PKG_SOURCE:=$(PKG_REV).tar.gz
+PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
+PKG_MD5SUM:=f5683c1dcb255714942f7c9fd61b3a0a
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/brcm2708-gpu-fw
SECTION:=boot
CATEGORY:=Boot Loaders
- DEPENDS:=@TARGET_brcm2708
+ DEPENDS:=@(TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
TITLE:=brcm2708-gpu-fw
- DEFAULT:=y if (TARGET_brcm2708)
+ DEFAULT:=y if (TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
endef
define Package/brcm2708-gpu-fw/description
@@ -34,5 +35,10 @@ endef
define Build/Compile
endef
+define Build/InstallDev
+ $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot
+ $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot
+endef
+
$(eval $(call BuildPackage,brcm2708-gpu-fw))