treewide: clean up download hashes
[openwrt/staging/wigyori.git] / package / firmware / am33x-cm3 / Makefile
1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=am33x-cm3
11 PKG_VERSION:=20130304
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_URL:=http://arago-project.org/git/projects/am33x-cm3.git
18 PKG_SOURCE_VERSION:=32cf44e25b5828b87af6dceebc3a49fed5d858ac
19 PKG_MIRROR_HASH:=71d4029eed4ef58a1e0beb299d5c876bf0b9a790ecac52aacf1d510f5841d959
20
21 PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
22
23 PKG_FLAGS:=nonshared
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/am33x-cm3
28 SECTION:=firmware
29 CATEGORY:=Firmware
30 URL:=http://arago-project.org/git/projects/?p=am33x-cm3.git
31 TITLE:=TI AM335x PM firmware
32 DEPENDS:=@TARGET_omap
33 endef
34
35 define Build/Compile
36 $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(PKG_BUILD_DIR)
37 endef
38
39 define Package/am33x-cm3/install
40 $(INSTALL_DIR) $(1)/lib/firmware
41 $(CP) $(PKG_BUILD_DIR)/bin/am335x-pm-firmware.bin $(1)/lib/firmware
42 endef
43
44 $(eval $(call BuildPackage,am33x-cm3))