2015-10-15 22:12:13 +00:00
|
|
|
#
|
2015-02-11 10:17:55 +00:00
|
|
|
# Copyright (C) 2012-2015 OpenWrt.org
|
2012-07-24 20:39:17 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2015-02-11 13:50:40 +00:00
|
|
|
PKG_NAME:=brcm2708-gpu-fw
|
2015-12-17 09:28:48 +00:00
|
|
|
PKG_REV:=98e801605b31a5d7a4c36de5cb1d0e33ce95e8ab
|
|
|
|
PKG_VERSION:=20151214
|
2015-02-11 13:50:40 +00:00
|
|
|
PKG_RELEASE:=1
|
2012-07-24 20:39:17 +00:00
|
|
|
|
2015-02-11 13:50:40 +00:00
|
|
|
PKG_SOURCE:=$(PKG_REV).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
|
2015-12-17 09:28:48 +00:00
|
|
|
PKG_MD5SUM:=66bbad77fdd9e5391d4130fa11d94646
|
2015-02-11 13:50:40 +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
|
2015-02-13 07:38:38 +00:00
|
|
|
DEPENDS:=@TARGET_brcm2708
|
2012-07-24 20:39:17 +00:00
|
|
|
TITLE:=brcm2708-gpu-fw
|
2015-02-13 07:38:38 +00:00
|
|
|
DEFAULT:=y if TARGET_brcm2708
|
2012-07-24 20:39:17 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/brcm2708-gpu-fw/description
|
|
|
|
GPU and kernel boot firmware for brcm2708.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2015-05-29 11:28:54 +00:00
|
|
|
true
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/brcm2708-gpu-fw/install
|
|
|
|
true
|
2012-07-24 20:39:17 +00:00
|
|
|
endef
|
|
|
|
|
2015-02-11 13:50:40 +00:00
|
|
|
define Build/InstallDev
|
2015-05-29 11:28:54 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/bootcode.bin $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/COPYING.linux $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/LICENCE.broadcom $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/start.elf $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/start_cd.elf $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/fixup.dat $(KERNEL_BUILD_DIR)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/fixup_cd.dat $(KERNEL_BUILD_DIR)
|
2015-02-11 13:50:40 +00:00
|
|
|
endef
|
|
|
|
|
2012-07-24 20:39:17 +00:00
|
|
|
$(eval $(call BuildPackage,brcm2708-gpu-fw))
|