25 lines
966 B
Text
25 lines
966 B
Text
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
pkgname=crust
|
|
pkgver=0.3_git20210418
|
|
pkgrel=0
|
|
_commit="23d6d7b4fbb5375845d96f622e82435064343098"
|
|
pkgdesc="SCP firmware for sunxi SoCs"
|
|
arch="aarch64"
|
|
url="https://github.com/crust-firmware/crust"
|
|
license="BSD-1-Clause AND BSD-3-Clause AND GPL-2.0-only and MIT"
|
|
makedepends="gcc-or1k-elf binutils-or1k-elf dtc bison flex"
|
|
source="https://github.com/crust-firmware/crust/archive/$_commit/crust-$_commit.tar.gz"
|
|
options="!check !archcheck !tracedeps pmb:cross-native" # No tests
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
make CROSS_COMPILE=or1k-elf- pinephone_defconfig
|
|
make CROSS_COMPILE=or1k-elf- build/scp/scp.bin
|
|
}
|
|
|
|
package() {
|
|
install -D -m644 build/scp/scp.bin "$pkgdir"/usr/share/crust/pinephone/scp.bin
|
|
}
|
|
sha512sums="
|
|
15058a888f10b9434eea76951acd44010bc6628d911c9cbbf043d5b8c26a4d226d24cc6fda3698b093d7ccb055a6c047d146410ca4cd2d44040c622b6aad2568 crust-23d6d7b4fbb5375845d96f622e82435064343098.tar.gz
|
|
"
|