953d1dd3e1d95a1a5e46bf41ff5c1dfb7015a0c6
[openpandora.oe.git] / recipes / pandora-system / pandora-firmware.bb
1 DESCRIPTION = "Install binary firmware for Bluetooth and WiFi into the image."
2 LICENSE = "proprietary-binary"
3 RRECOMMENDS_${PN} = "kernel-module-firmware-class"
4 PR = "r2"
5
6 SRC_URI = " \
7         file://brf6300.bin \
8         file://wl1251-fw.bin \
9         file://wl1251-nvs.bin \        
10         file://bluetooth-conf \        
11 "
12
13 SUMMARY = "This is required to support the Bluetooth and WiFi modules on the Pandora"
14 S = "${WORKDIR}"
15
16 do_install() {
17         install -d ${D}${base_libdir}/firmware
18         install -m 0644 ${S}/brf6300.bin ${S}/wl1251-fw.bin ${S}/wl1251-nvs.bin ${D}${base_libdir}/firmware/
19         install -d ${D}${sysconfdir}/sysconfig
20         install -m 0755 ${S}/bluetooth-conf ${D}${sysconfdir}/sysconfig/bluetooth     
21 }
22
23 PACKAGE_ARCH = "${MACHINE_ARCH}"
24
25 FILES_${PN} += "${base_libdir}/firmware ${sysconfdir}/sysconfig"
26
27 COMPATIBLE_MACHINE = "omap3-pandora"