diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2024-04-25 13:46:04 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2024-05-23 22:19:37 +0000 |
commit | 80f50c9eb66d88b6e69cd5159d1ff318dcb60b33 (patch) | |
tree | afe935dffa184f66bce092c3a50f89f5b3951ee0 /net/wifi-firmware-kmod/files/WHENCE.awk.in | |
parent | databases/foundationdb*: split, update to 7.1.59 & 7.3.41 (diff) |
net/wifi-firmware-*kmod: improve build logic, add flavors, update fw version
- update framework to no longer depend on local distfiles for firmware(9)
but generate the Makefile hierarchy in post-extract. Keep a
Makefile.inc.in in files for simplicity.
- update extracting WHENCE parts using a local WHENCE.awk.in in files
and a pattern to match the section(s).
- use the already prepared FWSUBS sections for flavors and add the
FWDRV as "default". Generate the CONFLICTS_INSTALL conflict and
PKGNAMESUFFIX entries. Adjust paths and logic for flavors.
Depend on the flavors rather the combined ("default flavor") packages
by default if someone installs wifi-firmware-kmod.
The wifi-firmware-${name}-kmod packages are still built for older
versions of fwget shipping in releases.
- add support for iwlwifi and ath12k firmware
- update firmware to linux-firmware.git tag: 20240513 for all drivers.
Sponsored by: The FreeBSD Foundation
Reviewed by: jrm
Differential Revision: https://reviews.freebsd.org/D44945
Diffstat (limited to 'net/wifi-firmware-kmod/files/WHENCE.awk.in')
-rw-r--r-- | net/wifi-firmware-kmod/files/WHENCE.awk.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/wifi-firmware-kmod/files/WHENCE.awk.in b/net/wifi-firmware-kmod/files/WHENCE.awk.in new file mode 100644 index 000000000000..38a7c27a97a2 --- /dev/null +++ b/net/wifi-firmware-kmod/files/WHENCE.awk.in @@ -0,0 +1,24 @@ +BEGIN { + start=1; + block=0; +} +{ + if (start == 1) { + print; + if (/^----/) { + start=0; + } + } + if (block == 0) { + if (/^Driver: %%XXX%%/) { + block=1; + printf "\n"; + print; + } + } else { + print; + if (/^----/) { + block=0; + } + } +} |