mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/raspberrypi-firmware: Split extra codecs.
This commit is contained in:
parent
5376788e5f
commit
347a598ac3
1 changed files with 12 additions and 2 deletions
|
@ -3,11 +3,12 @@ buildarch=18
|
|||
pkgbase=raspberrypi-firmware
|
||||
pkgname=('raspberrypi-firmware'
|
||||
'raspberrypi-firmware-bootloader'
|
||||
'raspberrypi-firmware-bootloader-x'
|
||||
'raspberrypi-firmware-emergency-kernel'
|
||||
'raspberrypi-firmware-tools'
|
||||
'raspberrypi-firmware-examples')
|
||||
pkgver=20130308
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Firmware files for Raspberry Pi"
|
||||
arch=('any')
|
||||
url="https://github.com/raspberrypi/firmware"
|
||||
|
@ -34,6 +35,7 @@ build() {
|
|||
|
||||
package_raspberrypi-firmware() {
|
||||
depends=('raspberrypi-firmware-bootloader'
|
||||
'raspberrypi-firmware-bootloader-x'
|
||||
'raspberrypi-firmware-emergency-kernel'
|
||||
'raspberrypi-firmware-tools'
|
||||
'raspberrypi-firmware-examples')
|
||||
|
@ -43,7 +45,15 @@ package_raspberrypi-firmware-bootloader() {
|
|||
pkgdesc="Bootloader files for Raspberry Pi"
|
||||
|
||||
cp -R "${srcdir}"/firmware/boot "${pkgdir}"/boot
|
||||
rm "${pkgdir}"/boot/{COPYING.linux,kernel*.img}
|
||||
rm "${pkgdir}"/boot/{COPYING.linux,kernel*.img,start_x.elf,fixup_x.dat}
|
||||
}
|
||||
|
||||
package_raspberrypi-firmware-bootloader-x() {
|
||||
pkgdesc="Bootloader with extra codecs for Raspberry Pi"
|
||||
depends=('raspberrypi-firmware-bootloader')
|
||||
|
||||
mkdir -p "${pkgdir}"/boot
|
||||
cp "${srcdir}"/firmware/boot/{start_x.elf,fixup_x.dat} "${pkgdir}"/boot
|
||||
}
|
||||
|
||||
package_raspberrypi-firmware-emergency-kernel() {
|
||||
|
|
Loading…
Reference in a new issue