New Package: atf-rk3399-bl31-2.4.
This commit is contained in:
parent
b6c00fdc5a
commit
eaa1a6c028
1 changed files with 27 additions and 0 deletions
27
srcpkgs/atf-rk3399-bl31/template
Normal file
27
srcpkgs/atf-rk3399-bl31/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'atf-rk3399-bl31'
|
||||
pkgname=atf-rk3399-bl31
|
||||
version=2.4
|
||||
revision=1
|
||||
archs="aarch64*"
|
||||
wrksrc="trusted-firmware-a-${version}"
|
||||
hostmakedepends="cross-arm-none-eabi"
|
||||
short_desc="ARM Trusted Firmware for Rockchip rk3399 boards (ARMv8, bl31 option)"
|
||||
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://developer.trustedfirmware.org/dashboard/view/6/"
|
||||
distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz"
|
||||
checksum=bf3eb3617a74cddd7fb0e0eacbfe38c3258ee07d4c8ed730deef7a175cc3d55b
|
||||
nostrip=yes
|
||||
|
||||
do_build() {
|
||||
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
|
||||
fi
|
||||
make ${makejobs} PLAT=rk3399 bl31
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall build/rk3399/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3399
|
||||
vlicense docs/license.rst
|
||||
}
|
Loading…
Reference in a new issue