27 lines
863 B
Bash
27 lines
863 B
Bash
# Template file for 'atf-rk3328-bl31'
|
|
pkgname=atf-rk3328-bl31
|
|
version=2.3
|
|
revision=1
|
|
archs="aarch64*"
|
|
wrksrc="trusted-firmware-a-${version}"
|
|
short_desc="ARM Trusted Firmware for Rockchip rk3328 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=37f917922bcef181164908c470a2f941006791c0113d738c498d39d95d543b21
|
|
nostrip=yes
|
|
|
|
do_build() {
|
|
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
|
if [ "$CROSS_BUILD" ]; then
|
|
export CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-
|
|
fi
|
|
make ${makejobs} PLAT=rk3328 bl31
|
|
}
|
|
|
|
do_install() {
|
|
vinstall build/rk3328/release/bl31/bl31.elf 0755 usr/lib/trusted-firmware-a/rk3328
|
|
vlicense docs/license.rst
|
|
}
|