[meta-ti] [PATCH 1/5] wl18xx-fw: add version 8.7.1 (R8.7_SP1)
Denys Dmytriyenko
denis at denix.org
Fri Mar 10 13:08:39 PST 2017
From: Denys Dmytriyenko <denys at ti.com>
Previous versions were provided by meta-arago-extras, moving to meta-ti now.
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
...01-Add-Makefile-to-install-firmware-files.patch | 29 ++++++++++++++++++++++
recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.1.bb | 26 +++++++++++++++++++
2 files changed, 55 insertions(+)
create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.1.bb
diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch b/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
new file mode 100644
index 0000000..a8db077
--- /dev/null
+++ b/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
@@ -0,0 +1,29 @@
+From 3a8fc3ccf00796254d6cef4b6d4cd70dc37012e1 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys at ti.com>
+Date: Fri, 10 Mar 2017 13:28:29 -0500
+Subject: [PATCH] Add Makefile to install firmware files
+
+Signed-off-by: Denys Dmytriyenko <denys at ti.com>
+---
+ Makefile | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+ create mode 100644 Makefile
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..1cf38e3
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,9 @@
++# Installs the the ti-connectivity wlan firmware files into the root file system
++
++install:
++ @if [ ! -d $(DESTDIR) ] ; then \
++ echo "Target filesystem directory doesn't exist."; \
++ exit 1; \
++ fi
++ install -d $(DEST_DIR)/lib/firmware/ti-connectivity
++ cp *.bin $(DEST_DIR)/lib/firmware/ti-connectivity/
+--
+2.7.4
+
diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.1.bb b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.1.bb
new file mode 100644
index 0000000..ec360fe
--- /dev/null
+++ b/recipes-bsp/wl18xx-fw/wl18xx-fw_8.7.1.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Firmware files for use with TI wl18xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
+
+SRC_URI = " \
+ git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
+ file://0001-Add-Makefile-to-install-firmware-files.patch \
+"
+
+# Tag: R8.7-SP1 (8.7.1)
+SRCREV = "fe3909e93d15a4b17e43699dde2bba0e9a3c0abc"
+BRANCH = "master"
+
+S = "${WORKDIR}/git"
+
+CLEANBROKEN = "1"
+
+do_compile() {
+ :
+}
+
+do_install() {
+ oe_runmake 'DEST_DIR=${D}' install
+}
+
+FILES_${PN} = "/lib/firmware/ti-connectivity/*"
--
2.7.4
More information about the meta-ti
mailing list