diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-06-24 18:19:10 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-06-24 18:22:18 +0000 |
commit | 9f92fddb7f2b83d2faa244b58b9c0c2dd91e8cb2 (patch) | |
tree | a50b46d77262ec80eb850d9b3b7e6a7686bf92e8 /testing/raspberrypi-bootloader | |
parent | af8c151ab5f1725b9d0bbbf284c906862fbaca62 (diff) | |
download | aports-9f92fddb7f2b83d2faa244b58b9c0c2dd91e8cb2.tar.bz2 aports-9f92fddb7f2b83d2faa244b58b9c0c2dd91e8cb2.tar.xz |
testing/raspberrypi-bootloader: upgrade to 1.20180417 and split fw
Diffstat (limited to 'testing/raspberrypi-bootloader')
-rw-r--r-- | testing/raspberrypi-bootloader/APKBUILD | 47 |
1 files changed, 33 insertions, 14 deletions
diff --git a/testing/raspberrypi-bootloader/APKBUILD b/testing/raspberrypi-bootloader/APKBUILD index 8081d8867d..c4857e52cc 100644 --- a/testing/raspberrypi-bootloader/APKBUILD +++ b/testing/raspberrypi-bootloader/APKBUILD @@ -1,33 +1,52 @@ # Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=raspberrypi-bootloader -pkgver=1.20171029 +pkgver=1.20180417 pkgrel=0 pkgdesc="Bootloader files for the Raspberry Pi" url=https://github.com/raspberrypi/firmware -arch="armhf" +arch="armhf aarch64" license="custom" depends="" makedepends="" install= -options="!check !strip" +options="!check !strip !tracedeps !spdx" source="$pkgname-$pkgver.tar.gz::https://github.com/raspberrypi/firmware/archive/$pkgver.tar.gz" -subpackages="$pkgname-x:bootloader_x" +subpackages="$pkgname-experimental $pkgname-debug $pkgname-cutdown $pkgname-doc" builddir="${srcdir}/firmware-${pkgver}" + package() { - cd "$builddir"/boot - mkdir -p "$pkgdir"/boot - cp bootcode.bin fixup.dat start.elf "$pkgdir"/boot/ + local fw; for fw in bootcode.bin fixup.dat start.elf; do + install -D "$builddir"/boot/$fw \ + "$pkgdir"/boot/$fw + done + install -Dm 644 "$builddir"/boot/LICENCE.broadcom \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +experimental() { + pkgdesc="Experimental firmware with additional codecs" + local fw; for fw in start_x.elf fixup_x.dat; do + install -D "$builddir"/boot/$fw \ + "$subpkgdir"/boot/$fw + done } -bootloader_x() { - pkgdesc="Extra codecs for the Raspberry Pi" - depends="$pkgname" - cd "$builddir"/boot - mkdir -p "$subpkgdir"/boot - cp start_x.elf start_cd.elf start_db.elf fixup_x.dat fixup_cd.dat fixup_db.dat "$subpkgdir"/boot/ +debug() { + pkgdesc="Debug firmware" + local fw; for fw in start_db.elf fixup_db.dat; do + install -D "$builddir"/boot/$fw \ + "$subpkgdir"/boot/$fw + done } +cutdown() { + pkgdesc="Cut-down firmware for lower memory settings" + local fw; for fw in start_cd.elf fixup_cd.dat; do + install -D "$builddir"/boot/$fw \ + "$subpkgdir"/boot/$fw + done +} -sha512sums="654fd99a2b33e7813353a4bb71e7ca5ab1063c92f4a3aea74c3651c3a96b3bfb891986dcd18a3c6da39231828b71a2c00c64398555afd24c6eb9e9ad9813d897 raspberrypi-bootloader-1.20171029.tar.gz" +sha512sums="0ba4d81ae44e430094151f85838133884123a504ceabf8bcb0fdb0561019fa6c59d964a76f10ba6017d96514eef4ded24bc6c09c7a4a88e9aaa16c1a0a0fd0f1 raspberrypi-bootloader-1.20180417.tar.gz" |