1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

wl18xx-fw: Do not depend on the makefile for install

We use the makefile shipped with the firmware to deploy the firmware
instead of just manually moving it in the install step. But the makefile
doesn't do the right thing, so we also modify the makefile. Skip all
this and just move the firmware ourselves.

Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
Andrew Davis
2024-12-13 09:59:13 -06:00
committed by Ryan Eatmon
parent c58af0b172
commit 7b41d83f37
2 changed files with 3 additions and 40 deletions

View File

@@ -1,31 +0,0 @@
From 3a8fc3ccf00796254d6cef4b6d4cd70dc37012e1 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Fri, 10 Mar 2017 13:28:29 -0500
Subject: [PATCH] Add Makefile to install firmware files
Upstream-Status: Pending
Signed-off-by: Denys Dmytriyenko <denys@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

View File

@@ -2,10 +2,7 @@ DESCRIPTION = "Firmware files for use with TI wl18xx"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
SRC_URI = " \
git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH} \
file://0001-Add-Makefile-to-install-firmware-files.patch \
"
SRC_URI = "git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH}"
SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71"
BRANCH = "master"
@@ -19,11 +16,8 @@ do_compile() {
}
do_install() {
if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then
oe_runmake 'DEST_DIR=${D}/usr' install
else
oe_runmake 'DEST_DIR=${D}' install
fi
install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity
install -m 0644 ${S}/*.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
}
FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*"