aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-firmware/linux-firmware_git.bb')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
new file mode 100644
index 00000000000..81583fc40b0
--- /dev/null
+++ b/meta/recipes-kernel/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"