2020-04-18 17:56:53 +00:00
|
|
|
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
|
|
pkgname=crust
|
2021-11-01 17:32:11 +00:00
|
|
|
pkgver=0.5
|
2020-04-18 17:56:53 +00:00
|
|
|
pkgrel=0
|
|
|
|
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"
|
2021-11-27 12:28:02 +00:00
|
|
|
source="crust-v$pkgver.tar.gz::https://github.com/crust-firmware/crust/archive/refs/tags/v$pkgver.tar.gz"
|
2020-04-18 17:56:53 +00:00
|
|
|
options="!check !archcheck !tracedeps pmb:cross-native" # No tests
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2021-05-06 22:32:18 +00:00
|
|
|
sha512sums="
|
2021-11-01 17:32:11 +00:00
|
|
|
1a3811053fd3a27285a1377888ab5b36e9363a2f5818f69966eb7f5214e571475a2a7865b9e1b68387940a9a7e9dc3841d2458544c155aecc5b9da041eb946ba crust-v0.5.tar.gz
|
2021-05-06 22:32:18 +00:00
|
|
|
"
|