alarm/raspberrypi-firmware: Split extra codecs.

This commit is contained in:
Lauri Kenttä 2013-03-18 20:00:59 +02:00
parent 5376788e5f
commit 347a598ac3

View file

@ -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() {