diff options
author | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-20 12:07:00 +0000 |
---|---|---|
committer | jogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-20 12:07:00 +0000 |
commit | 56525f854b1b7e215409d84c12b5704943753883 (patch) | |
tree | f761a8c11d1e12e8f20f098e1788ea16d1b5fb14 | |
parent | 11eca6beba8ca7f8a5fcdbbe63038c339d34931d (diff) |
brcm2708-gpu-fw: download zipped sources and switch to Hexxeh's git
* Use the gzipped download feature from github to get a tarball with a
stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
contents, dropping all the precompiled modules and kernels.
Reduces the download size from ~1.27 GiB to ~25 MiB.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36667 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/system/brcm2708-gpu-fw/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/package/system/brcm2708-gpu-fw/Makefile b/package/system/brcm2708-gpu-fw/Makefile index 45c727caf..7a1b622ae 100644 --- a/package/system/brcm2708-gpu-fw/Makefile +++ b/package/system/brcm2708-gpu-fw/Makefile @@ -8,17 +8,15 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=brcm2708-gpu-fw -PKG_REV:=29ce6bcf278e7e79cd8a2b84c6aa9db9864ca91d +PKG_REV:=6baaefd041f415912dd1868ed45a18904562acec PKG_VERSION:=20120529 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=git://github.com/raspberrypi/firmware.git -PKG_SOURCE_PROTO:=git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE:=$(PKG_REV).tar.gz +PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/ +PKG_MD5SUM:=12f8bc52bfbe5f569108263562219fa1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV) include $(INCLUDE_DIR)/package.mk @@ -39,7 +37,7 @@ endef define Build/InstallDev $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot - $(CP) $(PKG_BUILD_DIR)/boot/* $(BUILD_DIR)/brcm2708-gpu-fw-boot + $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot endef $(eval $(call BuildPackage,brcm2708-gpu-fw)) |