2014-03-25 14:56:35 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=am33x-cm3
|
|
|
|
PKG_VERSION:=20130304
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2016-10-04 12:28:54 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2014-03-25 14:56:35 +00:00
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2016-06-21 21:52:55 +00:00
|
|
|
PKG_SOURCE_URL:=http://arago-project.org/git/projects/am33x-cm3.git
|
2014-03-25 14:56:35 +00:00
|
|
|
PKG_SOURCE_VERSION:=32cf44e25b5828b87af6dceebc3a49fed5d858ac
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_MIRROR_HASH:=71d4029eed4ef58a1e0beb299d5c876bf0b9a790ecac52aacf1d510f5841d959
|
2014-03-25 14:56:35 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
|
|
|
2016-04-26 21:09:12 +00:00
|
|
|
PKG_FLAGS:=nonshared
|
|
|
|
|
2014-03-25 14:56:35 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/am33x-cm3
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
URL:=http://arago-project.org/git/projects/?p=am33x-cm3.git
|
|
|
|
TITLE:=TI AM335x PM firmware
|
|
|
|
DEPENDS:=@TARGET_omap
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/am33x-cm3/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/bin/am335x-pm-firmware.bin $(1)/lib/firmware
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,am33x-cm3))
|