packages: clean up the package folder
[openwrt/staging/wigyori.git] / package / kernel / brcm2708-gpu-fw / Makefile
1 #
2 # Copyright (C) 2012 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:=d5b05be2147bf5dc0137798837af24b0bbbe398d
12 PKG_VERSION:=20130517
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:=9b0ce0a530e237f4c6fe43a36ccf57c3
18
19 PKG_BUILD_DIR:=$(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 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(BUILD_DIR)/brcm2708-gpu-fw-boot
40 $(CP) $(PKG_BUILD_DIR)/* $(BUILD_DIR)/brcm2708-gpu-fw-boot
41 endef
42
43 $(eval $(call BuildPackage,brcm2708-gpu-fw))
44