2017-07-15 22:01:21 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017 Hauke Mehrtens
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=arm-trusted-firmware-sunxi
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL=https://github.com/apritzel/arm-trusted-firmware
|
2018-06-09 16:40:15 +00:00
|
|
|
PKG_SOURCE_DATE:=2018-02-10
|
|
|
|
PKG_SOURCE_VERSION:=c9f55c023164a6c8c49f70f7ac6c68c626839d6f
|
|
|
|
PKG_MIRROR_HASH:=94b5338592cf0bcc353b55da5fdd62c91ae8e6263822f73724cb72ecde3dbbf9
|
2017-07-15 22:01:21 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
|
|
PKG_LICENSE_FILES:=license.md
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
|
|
|
|
define Package/arm-trusted-firmware-sunxi
|
|
|
|
SECTION:=boot
|
|
|
|
CATEGORY:=Boot Loaders
|
|
|
|
TITLE:=ARM Trusted Firmware for Allwinner
|
2017-09-19 18:34:47 +00:00
|
|
|
DEPENDS:=@TARGET_sunxi_cortexa53
|
2017-07-15 22:01:21 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
export GCC_HONOUR_COPTS=s
|
|
|
|
|
|
|
|
MAKE_VARS = \
|
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)"
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
|
PLAT=sun50iw1p1 \
|
|
|
|
bl31
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
2018-02-05 11:50:52 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/build/sun50iw1p1/release/bl31.bin $(STAGING_DIR_IMAGE)/bl31.bin
|
2017-07-15 22:01:21 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/arm-trusted-firmware-sunxi/install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,arm-trusted-firmware-sunxi))
|