summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-09-27 15:43:44 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-27 19:32:12 +0200
commit4f10295f39d3b2216fdc9d69967a34e3d7b48b2c (patch)
treeb14b1900727ef2109e14ed9a90cb48eae1a8e901
parent3477517143262ded6873921716814262d0063c8e (diff)
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-kernel/linux-firmware/files/sd8997_uapsta.binbin0 -> 621896 bytes
-rw-r--r--recipes-kernel/linux-firmware/linux-firmware_%.bbappend16
2 files changed, 16 insertions, 0 deletions
diff --git a/recipes-kernel/linux-firmware/files/sd8997_uapsta.bin b/recipes-kernel/linux-firmware/files/sd8997_uapsta.bin
new file mode 100644
index 0000000..b576403
--- /dev/null
+++ b/recipes-kernel/linux-firmware/files/sd8997_uapsta.bin
Binary files differ
diff --git a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
index 22ea955..6f2958f 100644
--- a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
+++ b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend
@@ -1,9 +1,25 @@
LICENSE_${PN}-rtl8188eu = "Firmware-rtlwifi_firmware"
+LICENSE_${PN}-sd8997 = "Firmware-Marvell"
+
+FILESEXTRAPATHS_append := "${THISDIR}/files:"
+
+SRC_URI_append += "\
+ file://sd8997_uapsta.bin \
+ "
PACKAGES_prepend = "\
${PN}-rtl8188eu \
+ ${PN}-sd8997 \
"
+do_install_append() {
+ cp ${WORKDIR}/sd8997_uapsta.bin ${D}/lib/firmware/mrvl/
+}
+
FILES_${PN}-rtl8188eu = " \
/lib/firmware/rtlwifi/rtl8188eufw.bin \
"
+FILES_${PN}-sd8997 = " \
+ /lib/firmware/mrvl/sd8997_uapsta.bin \
+"
RDEPENDS_${PN}-rtl8188eu += "${PN}-rtl-license"
+RDEPENDS_${PN}-sd8997 += "${PN}-marvell-license"