2020-04-18 17:56:53 +00:00
|
|
|
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
|
|
pkgname=crust
|
2021-05-06 22:32:18 +00:00
|
|
|
pkgver=0.3_git20210418
|
2020-04-18 17:56:53 +00:00
|
|
|
pkgrel=0
|
2021-05-06 22:32:18 +00:00
|
|
|
_commit="23d6d7b4fbb5375845d96f622e82435064343098"
|
2020-04-18 17:56:53 +00:00
|
|
|
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-05-06 22:32:18 +00:00
|
|
|
source="https://github.com/crust-firmware/crust/archive/$_commit/crust-$_commit.tar.gz"
|
2020-04-18 17:56:53 +00:00
|
|
|
options="!check !archcheck !tracedeps pmb:cross-native" # No tests
|
2021-05-06 22:32:18 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2020-04-18 17:56:53 +00:00
|
|
|
|
|
|
|
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="
|
|
|
|
15058a888f10b9434eea76951acd44010bc6628d911c9cbbf043d5b8c26a4d226d24cc6fda3698b093d7ccb055a6c047d146410ca4cd2d44040c622b6aad2568 crust-23d6d7b4fbb5375845d96f622e82435064343098.tar.gz
|
|
|
|
"
|