New Package: rock64-uboot-2020.07.
This commit is contained in:
parent
c86858d08b
commit
9552439d8a
1 changed files with 45 additions and 0 deletions
45
srcpkgs/rock64-uboot/template
Normal file
45
srcpkgs/rock64-uboot/template
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Template file for 'rock64-uboot'
|
||||||
|
pkgname=rock64-uboot
|
||||||
|
version=2020.07
|
||||||
|
revision=1
|
||||||
|
archs="aarch64*"
|
||||||
|
wrksrc="u-boot-${version}"
|
||||||
|
hostmakedepends="flex bc python3 swig python3-devel dtc"
|
||||||
|
makedepends="atf-rk3328-bl31"
|
||||||
|
short_desc="Das U-Boot for the Rock64 SBC"
|
||||||
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
||||||
|
license="GPL-2.0-or-later, BSD-3-Clause"
|
||||||
|
homepage="https://www.denx.de/wiki/U-Boot/"
|
||||||
|
distfiles="https://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
|
||||||
|
checksum=c1f5bf9ee6bb6e648edbf19ce2ca9452f614b08a9f886f1a566aa42e8cf05f6a
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
make rock64-rk3328_defconfig
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
export CROSS_COMPILE="${XBPS_CROSS_TRIPLET}-"
|
||||||
|
fi
|
||||||
|
make ${makejobs} EXTRAVERSION="-${revision}" \
|
||||||
|
BL31="${XBPS_CROSS_BASE}/usr/lib/trusted-firmware-a/rk3328/bl31.elf"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall idbloader.img 0644 usr/lib/rock64-uboot
|
||||||
|
vinstall u-boot.itb 0644 usr/lib/rock64-uboot
|
||||||
|
vlicense Licenses/Exceptions
|
||||||
|
vlicense Licenses/OFL.txt
|
||||||
|
vlicense Licenses/README
|
||||||
|
vlicense Licenses/bsd-2-clause.txt
|
||||||
|
vlicense Licenses/bsd-3-clause.txt
|
||||||
|
vlicense Licenses/eCos-2.0.txt
|
||||||
|
vlicense Licenses/gpl-2.0.txt
|
||||||
|
vlicense Licenses/ibm-pibs.txt
|
||||||
|
vlicense Licenses/isc.txt
|
||||||
|
vlicense Licenses/lgpl-2.0.txt
|
||||||
|
vlicense Licenses/lgpl-2.1.txt
|
||||||
|
vlicense Licenses/r8a779x_usb3.txt
|
||||||
|
vlicense Licenses/x11.txt
|
||||||
|
}
|
Loading…
Reference in a new issue