2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_URL:=git://arago-project.org/git/projects/am33x-cm3.git
18 PKG_SOURCE_VERSION:=32cf44e25b5828b87af6dceebc3a49fed5d858ac
19 PKG_MD5SUM:=40a6b7edae5e5cfff99bebde2bf20b97
21 PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
23 include $(INCLUDE_DIR)/package.mk
25 define Package/am33x-cm3
28 URL:=http://arago-project.org/git/projects/?p=am33x-cm3.git
29 TITLE:=TI AM335x PM firmware
34 $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(PKG_BUILD_DIR)
37 define Package/am33x-cm3/install
38 $(INSTALL_DIR) $(1)/lib/firmware
39 $(CP) $(PKG_BUILD_DIR)/bin/am335x-pm-firmware.bin $(1)/lib/firmware
42 $(eval $(call BuildPackage,am33x-cm3))