linux-firmware: add firmware files for use with Linux kernel (based on OE.dev)

A collection of firmware files are provided for this git repository,
this recipe can provide multiple packages for every group of firmware
files needed for every device. For now, only the SDIO libertas firmware
is packaged.

The SDIO libertas firmware is used on various OMAP3 based boards.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
This commit is contained in:
Enric Balletbo i Serra 2010-07-02 21:35:27 +02:00 committed by Joshua Lock
parent 912e9d234e
commit 1d22846b48
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
DESCRIPTION = "Firmware files for use with Linux kernel"
SECTION = "kernel"
LICENSE = "Proprietary"
LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas"
PROVIDES += "linux-firmware-sd8686"
SRCREV = "85212bf6501da865e570f6b2f6fbd6f212850609"
PV = "0.0+git${SRCREV}"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git"
S = "${WORKDIR}/git"
do_compile() {
:
}
do_install() {
install -d ${D}/lib/firmware/
# Libertas sd8686
install -m 0666 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
install -m 0666 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
install -m 0666 LICENCE.libertas ${D}/lib/firmware/
}
PACKAGES = "${PN}-sd8686"
FILES_${PN}-sd8686 = "/lib/firmware/sd8686* /lib/firmware/LICENCE.libertas"
RPROVIDES_${PN}-sd8686 = "${PN}-sd8686"
PACKAGE_ARCH = "all"