diff options
author | Maxim Karasev <begs@disroot.org> | 2021-06-08 03:03:56 +0300 |
---|---|---|
committer | dispatch <dispatch@listserv.local> | 2021-06-08 00:03:04 +0000 |
commit | fe6db0a50eb5d60e869d788df18f970b75d26885 (patch) | |
tree | e0850f205cfa8c216f2106d8d480d18ba2e045a4 | |
parent | 1d4011413c3d19c25facd1acfe7bed291499fd8e (diff) |
main/u-boot: build for orangepi_3 and fix paths to arm trusted firmwarepatches/3538
-rw-r--r-- | main/u-boot/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/u-boot/APKBUILD b/main/u-boot/APKBUILD index b6f5ab4dfab..c6a7e850b5f 100644 --- a/main/u-boot/APKBUILD +++ b/main/u-boot/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Milan P. Stanić <mps@arvanta.net> pkgname=u-boot pkgver=2021.04 -pkgrel=0 +pkgrel=1 pkgdesc="u-boot bootloader common files" url="https://www.denx.de/wiki/U-Boot/" arch="all !s390x !ppc64le" @@ -12,7 +12,7 @@ license="GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs makedepends="$depends_dev bc dtc python3-dev swig bison flex openssl-dev py3-setuptools linux-headers" if [ "$CARCH" = "aarch64" ]; then - makedepends="$makedepends arm-trusted-firmware-sun50i" + makedepends="$makedepends arm-trusted-firmware" fi source="https://ftp.denx.de/pub/u-boot/u-boot-${pkgver//_/-}.tar.bz2 README.txt @@ -44,6 +44,7 @@ aarch64) board_configs=" qemu:qemu_arm64 pine64:pine64-lts pinebook:pinebook + orangepi:orangepi_3 ";; esac @@ -71,7 +72,10 @@ build() { case "$board" in "pine64-lts"|"pinebook") - export BL31="/usr/share/arm-trusted-firmware-sun50i/bl31.bin" + export BL31="/usr/share/arm-trusted-firmware/sun50i_a64/bl31.bin" + ;; + "orangepi_3") + export BL31="/usr/share/arm-trusted-firmware/sun50i_h6/bl31.bin" ;; esac |