2 # Copyright (C) 2017 Hauke Mehrtens
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_HASH
:=df4e0f3803479df0ea4cbf3330b59731bc2efc2112c951f9adb3685229163af9
15 PKG_LICENSE
:=BSD-3-Clause
16 PKG_LICENSE_FILES
:=license.md
18 PKG_MAINTAINER
:=Hauke Mehrtens
<hauke@hauke-m.de
>
20 include $(INCLUDE_DIR
)/kernel.mk
21 include $(INCLUDE_DIR
)/trusted-firmware-a.mk
22 include $(INCLUDE_DIR
)/package.mk
24 define Trusted-Firmware-A
/Default
26 BUILD_SUBTARGET
:=cortexa53
29 define Trusted-Firmware-A
/sunxi-a64
34 define Trusted-Firmware-A
/sunxi-h6
43 define Package
/trusted-firmware-a
/install
44 $(INSTALL_DIR
) $(STAGING_DIR_IMAGE
)
45 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/build
/$(PLAT
)/release
/bl31.bin
$(STAGING_DIR_IMAGE
)/bl31_
$(BUILD_VARIANT
).bin
48 $(eval
$(call BuildPackage
/Trusted-Firmware-A
))