From: Denys Dmytriyenko <[email protected]> Previous versions were provided by meta-arago-extras, moving to meta-ti now.
Signed-off-by: Denys Dmytriyenko <[email protected]> --- v2 - use common version naming R8.7_SP1 = 8.7.1 recipes-bsp/wl18xx-fw/wl18xx-fw.bb | 28 +++++++++++++++++++++ ...01-Add-Makefile-to-install-firmware-files.patch | 29 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw.bb create mode 100644 recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch diff --git a/recipes-bsp/wl18xx-fw/wl18xx-fw.bb b/recipes-bsp/wl18xx-fw/wl18xx-fw.bb new file mode 100644 index 0000000..7122331 --- /dev/null +++ b/recipes-bsp/wl18xx-fw/wl18xx-fw.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e" + +PV = "8.7.1+git${SRCPV}" + +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 +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/*" 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 <[email protected]> +Date: Fri, 10 Mar 2017 13:28:29 -0500 +Subject: [PATCH] Add Makefile to install firmware files + +Signed-off-by: Denys Dmytriyenko <[email protected]> +--- + 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 + -- 2.7.4 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
