git: 56460a6a420a - main - rtw89: firmware: extend script to extract fwget entries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 May 2026 23:37:58 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=56460a6a420a066ea6eeadc3725bfdaf49f8142b
commit 56460a6a420a066ea6eeadc3725bfdaf49f8142b
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-05-17 23:16:33 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-05-17 23:35:55 +0000
rtw89: firmware: extend script to extract fwget entries
The so far so consistent (file)names got an outlier so add the
one character longer pattern as well to catch that.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
---
sys/contrib/dev/rtw89/zzz_fw_ports_fwget.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/contrib/dev/rtw89/zzz_fw_ports_fwget.sh b/sys/contrib/dev/rtw89/zzz_fw_ports_fwget.sh
index 4ee0ab7a6fd1..a1f655f7dc71 100644
--- a/sys/contrib/dev/rtw89/zzz_fw_ports_fwget.sh
+++ b/sys/contrib/dev/rtw89/zzz_fw_ports_fwget.sh
@@ -51,7 +51,7 @@ fi
#
list_fw()
{
- for f in `ls -1 rtw?????.c rtw?????e.c`; do
+ for f in `ls -1 rtw?????.c rtw?????e.c rtw?????te.c`; do
l=$(cpp ${f} 2>&1 | awk '/^MODULE_FIRMWARE\(/ { gsub(/"/, ""); gsub("__stringify\\(", ""); gsub("\\);$", ""); gsub("\\)", ""); gsub("^MODULE_FIRMWARE\\(", ""); gsub(" ", ""); printf "%s\n", $0; }' | sort -n | uniq)
if test "${l}" == ""; then
@@ -134,7 +134,7 @@ fi
fwgetfile=$(mktemp -p /tmp ${DRIVER}-fwget.XXXXXX)
:> ${fwgetfile}
-for f in `ls -1 rtw?????.c rtw?????e.c`; do
+for f in `ls -1 rtw?????.c rtw?????e.c rtw?????te.c`; do
# Ports FLAVOR names are [a-z0-9_]. If needed add more mangling magic here.
n=${f%.c};