pandora-firmware: add DSP blob
[openpandora.oe.git] / recipes / pandora-system / pandora-firmware.bb
1 DESCRIPTION = "Binary firmware blobs for WiFi, Bluetooth and DSP."
2 SUMMARY = "This is required to support WiFi, BT and DSP on the Pandora"
3 LICENSE = "proprietary-binary"
4 PR = "r5"
5
6 SRC_URI = " \
7         file://brf6300.bin \
8         file://wl1251-fw.bin \
9         file://bluetooth-conf \
10         file://baseimage.dof \
11         file://baseimage.dof.license.txt \
12         file://dspbridge.rules \
13 "
14
15 S = "${WORKDIR}"
16
17 do_install() {
18         install -d ${D}${base_libdir}/firmware
19         install -m 0644 ${S}/brf6300.bin ${S}/wl1251-fw.bin ${D}${base_libdir}/firmware/
20         install -d ${D}${sysconfdir}/sysconfig
21         install -m 0755 ${S}/bluetooth-conf ${D}${sysconfdir}/sysconfig/bluetooth     
22         install -d ${D}${base_libdir}/dsp
23         install -m 0644 ${S}/baseimage.dof ${D}${base_libdir}/dsp/
24         install -m 0644 ${S}/baseimage.dof.license.txt ${D}${base_libdir}/dsp/
25         install -d ${D}${base_libdir}/udev/rules.d/
26         install -m 0755 ${S}/dspbridge.rules ${D}${base_libdir}/udev/rules.d/
27 }
28
29 PACKAGE_ARCH = "${MACHINE_ARCH}"
30
31 FILES_${PN} += "${base_libdir}/firmware ${base_libdir}/dsp \
32                 ${sysconfdir}/sysconfig ${base_libdir}/udev/rules.d"
33
34 COMPATIBLE_MACHINE = "omap3-pandora"