# Contributor: Milan P. Stanić # Maintainer: Milan P. Stanić pkgname=opensbi # XXX: Updates require rebuilds of main/u-boot. pkgver=1.0 pkgrel=0 pkgdesc="risc-v open source supervisor binary interface" url=" https://github.com/riscv/opensbi" arch="riscv64" license="BSD-2-Clause" options="!check" # no tests source="$pkgname-$pkgver.tar.gz::https://github.com/riscv/opensbi/archive/refs/tags/v$pkgver.tar.gz" build() { make PLATFORM=generic } package() { mkdir -p "$pkgdir"/usr/share/opensbi/generic/firmware cp $builddir/build/platform/generic/firmware/*elf "$pkgdir"/usr/share/opensbi/generic/firmware cp $builddir/build/platform/generic/firmware/*bin "$pkgdir"/usr/share/opensbi/generic/firmware } sha512sums=" 7efc2440df1aa7b3bfdd7b44f9c87f8cf15d0aff5a318b742bc591f7599a68e383bbae161a507fb0bb5520cb49fd7ff0f8f0bf5897868319f0f74270addfea26 opensbi-1.0.tar.gz "