pmaports/main/crust/APKBUILD

22 lines
836 B
Text
Raw Normal View History

2020-04-18 17:56:53 +00:00
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=crust
2021-01-02 18:51:17 +00:00
pkgver=0.3
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-01-02 18:51:17 +00:00
source="crust-v$pkgver.tar.gz::https://github.com/crust-firmware/crust/archive/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-01-02 18:51:17 +00:00
sha512sums="04ace356553e7531f5d88a4a8b605c43f8b8db7c6131decc1d161164b6d890f7dbc3bed710a763d5a78d5e97d8ac09a516714ec7f48ec7af8f40cc44e7d6b843 crust-v0.3.tar.gz"