2012-07-24 20:39:17 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2012 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=brcm2708-gpu-fw
|
2013-05-20 12:07:00 +00:00
|
|
|
PKG_REV:=6baaefd041f415912dd1868ed45a18904562acec
|
2012-07-24 20:39:17 +00:00
|
|
|
PKG_VERSION:=20120529
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2013-05-20 12:07:00 +00:00
|
|
|
PKG_SOURCE:=$(PKG_REV).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
|
|
|
|
PKG_MD5SUM:=12f8bc52bfbe5f569108263562219fa1
|
2012-07-24 20:39:17 +00:00
|
|
|
|
2013-05-20 12:07:00 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV)
|
2012-07-24 20:39:17 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/brcm2708-gpu-fw
|
|
|
|
SECTION:=boot
|
|
|
|
CATEGORY:=Boot Loaders
|
|
|
|
DEPENDS:=@TARGET_brcm2708
|
|
|
|
TITLE:=brcm2708-gpu-fw
|
|
|
|
DEFAULT:=y if (TARGET_brcm2708)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/brcm2708-gpu-fw/description
|
|
|
|
GPU and kernel boot firmware for brcm2708.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot
|
2013-05-20 12:07:00 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot
|
2012-07-24 20:39:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,brcm2708-gpu-fw))
|
|
|
|
|