mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
53796f9248
Use latest release build instead of a git snapshot. As this tarball extracts in a trusted-firmware-a-2.8 subdirectory, we no longer need to override the PKG_NAME defined in trusted-firmware-a.mk. The actual package name is still the same, so we don't need to update any dependencies. Tested on A64-OLinuXino-1Ge16GW. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
#
|
|
# 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_VERSION:=2.8
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_HASH:=df4e0f3803479df0ea4cbf3330b59731bc2efc2112c951f9adb3685229163af9
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=license.md
|
|
|
|
PKG_MAINTAINER:=Hauke Mehrtens <hauke@hauke-m.de>
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
include $(INCLUDE_DIR)/trusted-firmware-a.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Trusted-Firmware-A/Default
|
|
BUILD_TARGET:=sunxi
|
|
BUILD_SUBTARGET:=cortexa53
|
|
endef
|
|
|
|
define Trusted-Firmware-A/sunxi-a64
|
|
NAME:=Allwinner A64
|
|
PLAT:=sun50i_a64
|
|
endef
|
|
|
|
define Trusted-Firmware-A/sunxi-h6
|
|
NAME:=Allwinner H6
|
|
PLAT:=sun50i_h6
|
|
endef
|
|
|
|
TFA_TARGETS:= \
|
|
sunxi-a64 \
|
|
sunxi-h6
|
|
|
|
define Package/trusted-firmware-a/install
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/build/$(PLAT)/release/bl31.bin $(STAGING_DIR_IMAGE)/bl31_$(BUILD_VARIANT).bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage/Trusted-Firmware-A))
|