summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@gmail.com>2010-07-02 21:35:27 +0200
committerJoshua Lock <josh@linux.intel.com>2010-07-05 15:49:32 +0100
commit1d22846b489a2bbf925d9c58618ec7b8769460c6 (patch)
tree972775b6764aa82848ed6d3fe78fba4177994fad /meta/packages
parent912e9d234e47aa1e8b2c6f191d69784fbaf11d15 (diff)
downloadopenembedded-core-1d22846b489a2bbf925d9c58618ec7b8769460c6.tar.gz
openembedded-core-1d22846b489a2bbf925d9c58618ec7b8769460c6.tar.bz2
openembedded-core-1d22846b489a2bbf925d9c58618ec7b8769460c6.zip
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>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/linux-firmware/linux-firmware_git.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/linux-firmware/linux-firmware_git.bb b/meta/packages/linux-firmware/linux-firmware_git.bb
new file mode 100644
index 0000000000..81583fc40b
--- /dev/null
+++ b/meta/packages/linux-firmware/linux-firmware_git.bb
@@ -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"