2 # Copyright (C) 2012-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/kernel.mk
10 PKG_NAME:=brcm2708-gpu-fw
11 PKG_REV:=38aa676b044f8de46aedb4bd972538a7ad6a3ce1
15 PKG_SOURCE:=$(PKG_REV).tar.gz
16 PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
17 PKG_MD5SUM:=f5683c1dcb255714942f7c9fd61b3a0a
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/brcm2708-gpu-fw
25 CATEGORY:=Boot Loaders
26 DEPENDS:=@(TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
27 TITLE:=brcm2708-gpu-fw
28 DEFAULT:=y if (TARGET_brcm2708_bcm2708||TARGET_brcm2708_bcm2709)
31 define Package/brcm2708-gpu-fw/description
32 GPU and kernel boot firmware for brcm2708.
38 define Build/InstallDev
39 $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot
40 $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot
43 $(eval $(call BuildPackage,brcm2708-gpu-fw))