pmaports/device/testing/u-boot-remarkable-zero-gravitas/APKBUILD

36 lines
1.7 KiB
Text
Raw Normal View History

2024-08-08 04:07:01 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=u-boot-remarkable-zero-gravitas
pkgver=2020.09
pkgrel=0
pkgdesc="U-Boot for reMarkable zero-gravitas tablet"
_gittag=97b35fdddf0077abd2e0f0409b94ef20adbe8565
url="https://github.com/reMarkable/uboot"
arch="armv7"
license="GPL-2.0-or-later OFL-1.1 BSD-2-Clause BSD-3-Clause eCos-2.0 IBM-pibs
ISC LGPL-2.0-only LGPL-2.1-only X11"
options="!check"
makedepends="$depends_dev bc dtc python3-dev swig bison flex openssl-dev
py3-setuptools linux-headers u-boot-tools"
source="
u-boot-remarkable-zero-gravitas-$_gittag.tar.gz::https://github.com/reMarkable/uboot/archive/$_gittag.tar.gz
gcc-12-u-boot-2020-fix-read-only-segment-has-dynamic-relocations-error.patch
uboot-config.patch
2024-11-17 22:10:45 +00:00
uboot-enable-fastboot.patch
2024-08-08 04:07:01 +00:00
"
builddir="$srcdir/uboot-$_gittag"
build() {
make ARCH=arm zero-gravitas_config
make ARCH=arm CC="${CC:-gcc}"
}
package() {
install -Dm755 "$builddir"/u-boot.imx "$pkgdir"/usr/share/u-boot/remarkable-zero-gravitas/u-boot.imx
}
sha512sums="
7cc8d513cac1d63ee5119529caa056164ee3bc3633da5d880fbfb344b770c7c53c41475d42dd129b505390dcd5449e14524afc06f7cdba9354af7e70a7035ef9 u-boot-remarkable-zero-gravitas-97b35fdddf0077abd2e0f0409b94ef20adbe8565.tar.gz
b894955579d5a163dc33d689feed7bd6e6d8fcf76952fbf50051debe1f39c60cfde774827e6bb888ecec8f1d22c2ec3d487ee17bae695f63a2357b14e7adf33b gcc-12-u-boot-2020-fix-read-only-segment-has-dynamic-relocations-error.patch
673cb917cc565ae245d4a7d659227bc240473112bc9c73ae184a64ce74be7994273d6dc4db17194d348941f83a42b3b67d3140f6f23c37c13d6dc93f7d76cc39 uboot-config.patch
2024-11-17 22:10:45 +00:00
26f477cf4b945eb9acbdf541602148a1f279c8b30555ceac40aa82fcff9731e3d8791924b092ac6feedffb92b83101a2071ce499830226d3410e97e58b228071 uboot-enable-fastboot.patch
2024-08-08 04:07:01 +00:00
"