pmaports/device/testing/device-goclever-gcta741l/APKBUILD
Newbyte b9bb6bbba8
goclever-gcta741l: remove dtb location workaround (MR 3254)
We previously installed dtbs outside of the boot partition, so it
was necessary to copy them from the root partition to boot if you
wanted to utilise them in U-Boot scripts. This is no longer
necessary as we now install dtbs to the boot partition directly, so
remove this workaround and edit the U-Boot script to reflect the
change.
2022-10-09 17:04:35 +02:00

58 lines
1.3 KiB
Text

# Maintainer: Jacek Pruciak <pmos@juniorjpdj.pl>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-goclever-gcta741l
pkgdesc="GoClever Orion 70L"
pkgver=0.2.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-allwinner
mesa-egl
mesa-dri-gallium
postmarketos-base
u-boot-tools
u-boot-goclever-gcta741l
"
makedepends="devicepkg-dev linux-postmarketos-allwinner"
source="
deviceinfo
u-boot-script.cmd
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
mkimage \
-A arm \
-O linux \
-T script \
-C none \
-a 0 \
-e 0 \
-n postmarketos \
-d "$srcdir"/u-boot-script.cmd \
"$srcdir"/boot.scr
}
package() {
devicepkg_package $startdir $pkgname
# U-Boot boot script
install -Dm644 "$srcdir"/boot.scr \
"$pkgdir"/boot/boot.scr
}
nonfree_firmware() {
pkgdesc="Wifi firmware (rtl8188eu)"
depends="linux-firmware-rtlwifi"
mkdir "$subpkgdir"
}
sha512sums="
5ce62bae1017dffa217578011cd11acc832472406381fe36fbbea1a8c008706f4d84ddda5b8bda0d8f21ed35bb12d228505b908030c7707d10564933c6cf1993 deviceinfo
5b8c1d440867a3cee891168a156fb428b14dfeaf0b437da3e4dc1dd1408458bde98b4ce4682dfb0c5f9c5055a0e2c34cc78ba6160b6ca64281f9721d8d02dede u-boot-script.cmd
"