rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / package / kernel / brcm2708-gpu-fw / Makefile
1 #
2 # Copyright (C) 2012-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/kernel.mk
9
10 PKG_NAME:=brcm2708-gpu-fw
11 PKG_REV:=30fe8178d61c1ff9bc168edaafdbcb101aa6245e
12 PKG_VERSION:=20160304
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_REV).tar.gz
16 PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/
17 PKG_MD5SUM:=5707f4d9ffd8d10018c68ecb8b363308
18
19 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/brcm2708-gpu-fw
24 SECTION:=boot
25 CATEGORY:=Boot Loaders
26 DEPENDS:=@TARGET_brcm2708
27 TITLE:=brcm2708-gpu-fw
28 DEFAULT:=y if TARGET_brcm2708
29 endef
30
31 define Package/brcm2708-gpu-fw/description
32 GPU and kernel boot firmware for brcm2708.
33 endef
34
35 define Build/Compile
36 true
37 endef
38
39 define Package/brcm2708-gpu-fw/install
40 true
41 endef
42
43 define Build/InstallDev
44 $(CP) $(PKG_BUILD_DIR)/bootcode.bin $(KERNEL_BUILD_DIR)
45 $(CP) $(PKG_BUILD_DIR)/COPYING.linux $(KERNEL_BUILD_DIR)
46 $(CP) $(PKG_BUILD_DIR)/LICENCE.broadcom $(KERNEL_BUILD_DIR)
47 $(CP) $(PKG_BUILD_DIR)/start.elf $(KERNEL_BUILD_DIR)
48 $(CP) $(PKG_BUILD_DIR)/start_cd.elf $(KERNEL_BUILD_DIR)
49 $(CP) $(PKG_BUILD_DIR)/fixup.dat $(KERNEL_BUILD_DIR)
50 $(CP) $(PKG_BUILD_DIR)/fixup_cd.dat $(KERNEL_BUILD_DIR)
51 endef
52
53 $(eval $(call BuildPackage,brcm2708-gpu-fw))