From 44696a01c7df631945c64a87f61cae638c60f5d8 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 20 May 2013 12:07:00 +0000 Subject: [PATCH] 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 SVN-Revision: 36667 --- package/system/brcm2708-gpu-fw/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/package/system/brcm2708-gpu-fw/Makefile b/package/system/brcm2708-gpu-fw/Makefile index 45c727caf5a8..7a1b622ae2c2 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)) -- 2.30.2