summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-extras/recipes-bsp')
-rw-r--r--meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb4
-rw-r--r--meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb20
-rw-r--r--meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb65
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb12
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb4
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch32
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch57
-rw-r--r--meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb16
-rw-r--r--meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb31
-rw-r--r--meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb4
-rw-r--r--meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch31
-rw-r--r--meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb16
12 files changed, 156 insertions, 136 deletions
diff --git a/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb
index 9a5a6ffa..0d856362 100644
--- a/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb
+++ b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "Firmware files for Bluetooth" 1SUMMARY = "Firmware files for Bluetooth"
2LICENSE = "TI-TSPA" 2LICENSE = "TI-TSPA"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9"
4 4
@@ -10,8 +10,6 @@ SRCREV = "0ee619b598d023fffc77679f099bc2a4815510e4"
10BRANCH = "master" 10BRANCH = "master"
11SRC_URI = "git://git.ti.com/git/ti-bt/service-packs.git;protocol=https;branch=${BRANCH}" 11SRC_URI = "git://git.ti.com/git/ti-bt/service-packs.git;protocol=https;branch=${BRANCH}"
12 12
13S = "${WORKDIR}/git"
14
15do_compile() { 13do_compile() {
16 : 14 :
17} 15}
diff --git a/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb b/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb
new file mode 100644
index 00000000..d5597ab9
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Firmware files for use with TI cc33xx"
2LICENSE = "TI-TSPA"
3LIC_FILES_CHKSUM = "file://LICENCE;md5=df68504cbd0a4da1643ebcfd5783dbc9"
4
5SRCREV = "988ded3a7d4d0e46de62e9ebfcb685c502bd9edf"
6SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-fw.git;protocol=https;branch=master"
7
8PV = "1.7.0.120"
9
10CLEANBROKEN = "1"
11
12do_compile[no_exec] = "1"
13
14EXTRA_OEMAKE = "DEST_DIR=${D} BASE_LIB_DIR=${nonarch_base_libdir}"
15
16do_install() {
17 oe_runmake install
18}
19
20FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*"
diff --git a/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
deleted file mode 100644
index 491ee0f3..00000000
--- a/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb
+++ /dev/null
@@ -1,65 +0,0 @@
1SUMMARY = "Firmware for DSP for an example application called copycodectest"
2LICENSE = "TI-TSPA"
3LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d"
4
5COMPATIBLE_MACHINE = "dra7xx"
6
7inherit features_check
8
9REQUIRED_MACHINE_FEATURES = "dsp"
10
11SRC_URI = "git://git.ti.com/git/glsdk/dspdce.git;protocol=https;branch=master"
12
13SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8"
14
15PV = "1.00.00.07"
16
17S = "${WORKDIR}/git"
18
19require recipes-ti/includes/ti-paths.inc
20
21PR = "r4"
22inherit update-alternatives
23
24DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
25
26export HWVERSION = "ES10"
27export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
28
29export XDCVERSION = "ti-xdctools-tree"
30export BIOSVERSION = "ti-sysbios-tree"
31export IPCVERSION = "ti-ipc-tree"
32export CEVERSION = "ti-codec-engine-tree"
33export FCVERSION = "ti-framework-components-tree"
34export XDAISVERSION = "ti-xdais-tree"
35export OSALVERSION = "ti-osal-tree"
36
37export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
38export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
39
40do_configure() {
41 cd ${S}
42 make unconfig
43 make vayu_config
44}
45
46do_compile() {
47 cd ${S}
48 make dspbin
49}
50
51TARGET = "dra7-dsp1-fw.xe66"
52
53do_install() {
54 install -d ${D}${nonarch_base_libdir}/firmware
55 install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${nonarch_base_libdir}/firmware/${TARGET}.${BPN}
56}
57
58ALTERNATIVE:${PN} = "dra7-dsp1-fw.xe66"
59ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}"
60ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}.${BPN}"
61ALTERNATIVE_PRIORITY = "10"
62
63INSANE_SKIP:${PN} = "arch"
64
65FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
diff --git a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
index 9d85829b..d8e759d9 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb
@@ -1,13 +1,10 @@
1DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" 1SUMMARY = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices"
2LICENSE = "GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" 3LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
4 4
5# This package builds a kernel module, use kernel PR as base and append a local
6MACHINE_KERNEL_PR:append = "d"
7PR = "${MACHINE_KERNEL_PR}"
8PV:append = "+git" 5PV:append = "+git"
9 6
10S = "${WORKDIR}/git/debugss_module/debugss-mod" 7S:append = "/debugss_module/debugss-mod"
11 8
12inherit module 9inherit module
13 10
@@ -20,3 +17,8 @@ COMPATIBLE_MACHINE = "dra7xx"
20PACKAGE_ARCH = "${MACHINE_ARCH}" 17PACKAGE_ARCH = "${MACHINE_ARCH}"
21 18
22include dsptop.inc 19include dsptop.inc
20
21SRC_URI += "\
22 file://0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch \
23 file://0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch \
24"
diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
index 90ce8943..5e8c56b8 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "TI dsptop utility." 1SUMMARY = "TI dsptop utility."
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" 3LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
4 4
@@ -6,7 +6,7 @@ DEPENDS = "libulm ncurses"
6 6
7PR = "${INC_PR}.2" 7PR = "${INC_PR}.2"
8 8
9S = "${WORKDIR}/git/dsptop" 9S:append = "/dsptop"
10 10
11DEVICE = "" 11DEVICE = ""
12DEVICE:dra7xx = "DRA7xx" 12DEVICE:dra7xx = "DRA7xx"
diff --git a/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch b/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch
new file mode 100644
index 00000000..19c6791e
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch
@@ -0,0 +1,32 @@
1From 5a514f6a6bb1c49bdbaf8eabc1776f54851227af Mon Sep 17 00:00:00 2001
2From: Ryan Eatmon <reatmon@ti.com>
3Date: Sun, 4 Aug 2024 11:17:28 -0500
4Subject: [PATCH] debugss_kmodule: Add include for mod_devicetable.h
5
6Add include for <linux/mod_devicetable.h> to fix compile error:
7
8git/debugss_module/debugss-mod/debugss_kmodule.c:1149:34: error:
9array type has incomplete element type 'struct of_device_id'
10
11Upstream-Status: Inactive-Upstream
12
13Signed-off-by: Ryan Eatmon <reatmon@ti.com>
14---
15 debugss_kmodule.c | 2 ++
16 1 file changed, 2 insertions(+)
17
18diff --git a/debugss_kmodule.c b/debugss_kmodule.c
19index 6fac61d..9e084eb 100644
20--- a/debugss_kmodule.c
21+++ b/debugss_kmodule.c
22@@ -26,6 +26,8 @@
23 #include <linux/of_device.h>
24 #include "debugss_kmodule.h"
25
26+#include <linux/mod_devicetable.h>
27+
28 /* un-comment the line below to enable printing for kernel debug messages */
29 //#define DEBUGSS_DRV_DEBUG
30
31--
322.17.1
diff --git a/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch
new file mode 100644
index 00000000..0afe0264
--- /dev/null
+++ b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch
@@ -0,0 +1,57 @@
1From aaddf1fa8b92db23ae2ebc83826c2bb5f5c87c35 Mon Sep 17 00:00:00 2001
2From: Ryan Eatmon <reatmon@ti.com>
3Date: Thu, 3 Oct 2024 14:25:18 -0500
4Subject: [PATCH] debugss_kmodule: kernel 6.11 changed return value for remove
5 slot
6
7In kernel version 6.11 the function footprint changed for the remove
8slot to return a void instead of an int. [1]
9
10Add ifdef checking code to look for kernel version and pick the correct
11return code.
12
13[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/platform_device.h?id=0edb555a65d1ef047a9805051c36922b52a38a9d
14
15Upstream-Status: Inactive-Upstream [lastcommit: 2021-04-20]
16
17Signed-off-by: Ryan Eatmon <reatmon@ti.com>
18---
19 debugss_kmodule.c | 4 ++++
20 1 file changed, 4 insertions(+)
21
22diff --git a/debugss_kmodule.c b/debugss_kmodule.c
23index 9e084eb..4191be8 100644
24--- a/debugss_kmodule.c
25+++ b/debugss_kmodule.c
26@@ -27,6 +27,7 @@
27 #include "debugss_kmodule.h"
28
29 #include <linux/mod_devicetable.h>
30+#include <linux/version.h>
31
32 /* un-comment the line below to enable printing for kernel debug messages */
33 //#define DEBUGSS_DRV_DEBUG
34@@ -1132,7 +1133,11 @@ static int dra7xx_debugss_probe(struct platform_device *pdev)
35 return retval;
36 }
37
38+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
39 static int dra7xx_debugss_remove(struct platform_device *pdev)
40+#else
41+static void dra7xx_debugss_remove(struct platform_device *pdev)
42+#endif
43 {
44 __D("%s:\n",__FUNCTION__);
45
46@@ -1145,7 +1150,9 @@ static int dra7xx_debugss_remove(struct platform_device *pdev)
47 /* Un-prepare debugSS clock */
48 clk_disable_unprepare(sys_clk_in1);
49
50+#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0))
51 return 0;
52+#endif
53 }
54
55 static const struct of_device_id dra7xx_debugss_of_match[] = {
56--
572.17.1
diff --git a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
index 6a2cde30..73c7831e 100644
--- a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
+++ b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb
@@ -9,9 +9,9 @@ REQUIRED_MACHINE_FEATURES = "dsp"
9DEPENDS = "ti-cgt6x-native" 9DEPENDS = "ti-cgt6x-native"
10PR = "${INC_PR}.0" 10PR = "${INC_PR}.0"
11 11
12S = "${WORKDIR}/git/dsptop/ulm" 12S:append = "/dsptop/ulm"
13 13
14DEVICE="" 14DEVICE = ""
15DEVICE:dra7xx = "DRA7xx" 15DEVICE:dra7xx = "DRA7xx"
16 16
17EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" 17EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
@@ -42,4 +42,14 @@ include dsptop.inc
42 42
43ALLOW_EMPTY:${PN} = "1" 43ALLOW_EMPTY:${PN} = "1"
44 44
45PARALLEL_MAKE= "" 45PARALLEL_MAKE = ""
46
47# Disable the "buildpaths" check while we figure out how we are
48# going to address this issue.
49#
50# The ti-cgt6x compiler is a custom TI compiler for the TI C6000
51# Digital Signal Processor(DSP) platform. It does not currently
52# support reproducible builds and is provided via a binary blob
53# download that we cannot patch in the recipe to address the
54# issue.
55INSANE_SKIP:${PN}-dev += "buildpaths"
diff --git a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
index 8d066eb0..bfdf1ac5 100644
--- a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
+++ b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb
@@ -15,8 +15,6 @@ SRC_URI = "git://git.ti.com/git/ivimm/ipumm.git;protocol=https;branch=master"
15 15
16SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" 16SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5"
17 17
18S = "${WORKDIR}/git"
19
20PV = "3.00.15.00" 18PV = "3.00.15.00"
21PR = "r7" 19PR = "r7"
22 20
@@ -26,18 +24,18 @@ inherit update-alternatives
26 24
27DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" 25DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
28 26
29export HWVERSION="ES10" 27export HWVERSION = "ES10"
30export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" 28export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
31 29
32export XDCVERSION="ti-xdctools-tree" 30export XDCVERSION = "ti-xdctools-tree"
33export BIOSVERSION="ti-sysbios-tree" 31export BIOSVERSION = "ti-sysbios-tree"
34export IPCVERSION="ti-ipc-tree" 32export IPCVERSION = "ti-ipc-tree"
35export CEVERSION="ti-codec-engine-tree" 33export CEVERSION = "ti-codec-engine-tree"
36export FCVERSION="ti-framework-components-tree" 34export FCVERSION = "ti-framework-components-tree"
37export XDAISVERSION="ti-xdais-tree" 35export XDAISVERSION = "ti-xdais-tree"
38 36
39export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}" 37export TMS470CGTOOLPATH = "${M4_TOOLCHAIN_INSTALL_DIR}"
40export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" 38export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
41 39
42EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" 40EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}"
43 41
@@ -65,3 +63,12 @@ ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGE
65ALTERNATIVE_PRIORITY = "20" 63ALTERNATIVE_PRIORITY = "20"
66 64
67FILES:${PN} += "${nonarch_base_libdir}/firmware/*" 65FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
66
67# Disable the "buildpaths" check while we figure out how we are
68# going to address this issue.
69#
70# The ti-cgt-arm compiler is a custom TI compiler. It does not
71# currently support reproducible builds and is provided via a
72# binary blob download that we cannot patch in the recipe to address
73# the issue.
74INSANE_SKIP:${PN} += "buildpaths"
diff --git a/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb
index b01dd6a5..73b582a2 100644
--- a/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb
+++ b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb
@@ -1,4 +1,4 @@
1DESCRIPTION = "Programmable Real-time Unit Software Package" 1SUMMARY = "Programmable Real-time Unit Software Package"
2HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" 2HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
3LICENSE = "BSD-3-Clause & PD" 3LICENSE = "BSD-3-Clause & PD"
4 4
@@ -29,8 +29,6 @@ RDEPENDS:${PN}:append = " \
29 29
30DEPENDS = "ti-cgt-pru-native" 30DEPENDS = "ti-cgt-pru-native"
31 31
32S = "${WORKDIR}/git"
33
34export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" 32export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
35export PRU_SSP = "${S}" 33export PRU_SSP = "${S}"
36 34
diff --git a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
deleted file mode 100644
index bb05c6fe..00000000
--- a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 3a8fc3ccf00796254d6cef4b6d4cd70dc37012e1 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Fri, 10 Mar 2017 13:28:29 -0500
4Subject: [PATCH] Add Makefile to install firmware files
5
6Upstream-Status: Pending
7
8Signed-off-by: Denys Dmytriyenko <denys@ti.com>
9---
10 Makefile | 9 +++++++++
11 1 file changed, 9 insertions(+)
12 create mode 100644 Makefile
13
14diff --git a/Makefile b/Makefile
15new file mode 100644
16index 0000000..1cf38e3
17--- /dev/null
18+++ b/Makefile
19@@ -0,0 +1,9 @@
20+# Installs the the ti-connectivity wlan firmware files into the root file system
21+
22+install:
23+ @if [ ! -d $(DESTDIR) ] ; then \
24+ echo "Target filesystem directory doesn't exist."; \
25+ exit 1; \
26+ fi
27+ install -d $(DEST_DIR)/lib/firmware/ti-connectivity
28+ cp *.bin $(DEST_DIR)/lib/firmware/ti-connectivity/
29--
302.7.4
31
diff --git a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb
index dbae5a21..3e61db88 100644
--- a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb
+++ b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb
@@ -1,17 +1,12 @@
1DESCRIPTION = "Firmware files for use with TI wl18xx" 1SUMMARY = "Firmware files for use with TI wl18xx"
2LICENSE = "TI-TSPA" 2LICENSE = "TI-TSPA"
3LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e" 3LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
4 4
5SRC_URI = " \ 5SRC_URI = "git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH}"
6 git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH} \
7 file://0001-Add-Makefile-to-install-firmware-files.patch \
8"
9 6
10SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71" 7SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71"
11BRANCH = "master" 8BRANCH = "master"
12 9
13S = "${WORKDIR}/git"
14
15CLEANBROKEN = "1" 10CLEANBROKEN = "1"
16 11
17do_compile() { 12do_compile() {
@@ -19,11 +14,8 @@ do_compile() {
19} 14}
20 15
21do_install() { 16do_install() {
22 if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then 17 install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity
23 oe_runmake 'DEST_DIR=${D}/usr' install 18 install -m 0644 ${S}/*.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
24 else
25 oe_runmake 'DEST_DIR=${D}' install
26 fi
27} 19}
28 20
29FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*" 21FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*"