This commit is contained in:
Gerben Jan Dijkman 2022-07-11 14:52:13 +02:00
parent 1a31504663
commit d1e1bd1a15
2 changed files with 1 additions and 9 deletions

View File

@ -1,3 +1,2 @@
DIST trusted-firmware-a-2.7.0.tar.gz 6511871 BLAKE2B d27be086274382bce273f3d9a04840b31577a757cfbc0cf6e767668d43177d17b392893b8fa1ddcd033312b7e39924a0997220c852fb3e1f12ed386ebc7d666a SHA512 28e46a25f0cb6de8338ad9766aa66b36df6cee2f1e732bce0cb9efcaf5f0d360a38e5ccacbfefe9b875e3ce07e825a9b2632609af48956267d10509ecfee85f6
DIST u-boot-2022.07_rc6.tar.gz 23213674 BLAKE2B 6b639702178e179d07f9fcdf5454abdaa6b3fec439d83b5c54b68870f52d809c464aa3feffc65cbe6a82872087929e89d77d0bce7ca5cec4536bef8d7321a75f SHA512 10ead59444a11f913ee05a032e0508838634a2108cd3c3ef02cd81c9dd0211295e7ffe7d331eb36062bad227c7b4413a2b4540a24bc118cf11ce5af99a9f29ea
DIST v0.5.tar.gz 189577 BLAKE2B 4248e21ad0a100b34eb470e6a3a23a68cfb973018444202e4e1dac3b89ba10b4c9673d21932069e94356533b0de7bb0f0e103a43225cca042c3b0e7936140de9 SHA512 1a3811053fd3a27285a1377888ab5b36e9363a2f5818f69966eb7f5214e571475a2a7865b9e1b68387940a9a7e9dc3841d2458544c155aecc5b9da041eb946ba

View File

@ -7,7 +7,6 @@ inherit toolchain-funcs
PKGREL="4"
FIRMWAREVERSION="2.7.0"
CRUSTVERSION="0.5"
COMMMIT="0cc846dafcf6f6270c6587d6fe79011834d6e49a"
MY_P="u-boot-${COMMMIT}"
DESCRIPTION="Das U-boot and utilities for working with Das U-Boot for the PinePhone Pro"
@ -15,7 +14,6 @@ HOMEPAGE="https://www.denx.de/wiki/U-Boot/WebHome"
SRC_URI="
https://source.denx.de/u-boot/u-boot/-/archive/${COMMMIT}/u-boot-${COMMMIT}.tar.gz -> u-boot-${PV}.tar.gz
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${FIRMWAREVERSION}.tar.gz
https://github.com/crust-firmware/crust/archive/refs/tags/v${CRUSTVERSION}.tar.gz
"
S="${WORKDIR}/${MY_P}"
@ -59,17 +57,12 @@ src_configure() {
}
src_compile() {
cd ${WORKDIR}/crust-${CRUSTVERSION}
make CROSS_COMPILE=or1k-elf- pinephone_defconfig
make CROSS_COMPILE=or1k-elf- build/scp/scp.bin
cp build/scp/scp.bin ${S}
cd ${WORKDIR}/trusted-firmware-a-${FIRMWAREVERSION}
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
make PLAT=rk3399
cp build/rk3399/release/bl31/bl31.elf ${S}
cd ${S}
cd ${WORKDIR}
# Unset a few KBUILD variables. Bug #540476
unset KBUILD_OUTPUT KBUILD_SRC