80f50c9eb6
- 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
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
BASEDIR= ${.CURDIR}/../wifi-firmware-kmod
|
|
|
|
FWDRV= ath11k
|
|
FWSUBDIR= ath11k
|
|
FWDRV_VERSION= 20240513
|
|
|
|
# Yes, the license is the ath10k one; see WHENCE.
|
|
LICENSE= LICENSE.QualcommAtheros_ath10k
|
|
LICENSE_NAME= QCA firmware license (${FWDRV})
|
|
|
|
WHENCE_REGEX= ath11k -.*
|
|
|
|
# The flavor/firmware lists below are generated by a script
|
|
# also helping to generate the fwget(8) definitions.
|
|
# { sys/contrib/dev/athk/ath11k/zzz_fw_ports_fwget.sh }
|
|
### >>>
|
|
|
|
FWSUBS= \
|
|
qca6390_hw20 \
|
|
qcn9074_hw10 \
|
|
wcn6855_hw20
|
|
|
|
DISTFILES_qca6390_hw20= \
|
|
${FWSUBDIR}/QCA6390/hw2.0/amss.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/QCA6390/hw2.0/board-2.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/QCA6390/hw2.0/m3.bin${DISTURL_SUFFIX}
|
|
DISTFILES_qca6390_hw20_lic= \
|
|
${FWSUBDIR}/QCA6390/hw2.0/Notice.txt${DISTURL_SUFFIX}
|
|
DISTFILES_qcn9074_hw10= \
|
|
${FWSUBDIR}/QCN9074/hw1.0/amss.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/QCN9074/hw1.0/board-2.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/QCN9074/hw1.0/m3.bin${DISTURL_SUFFIX}
|
|
DISTFILES_qcn9074_hw10_lic= \
|
|
${FWSUBDIR}/QCN9074/hw1.0/Notice.txt${DISTURL_SUFFIX}
|
|
DISTFILES_wcn6855_hw20= \
|
|
${FWSUBDIR}/WCN6855/hw2.0/amss.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/WCN6855/hw2.0/board-2.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/WCN6855/hw2.0/m3.bin${DISTURL_SUFFIX} \
|
|
${FWSUBDIR}/WCN6855/hw2.0/regdb.bin${DISTURL_SUFFIX}
|
|
DISTFILES_wcn6855_hw20_lic= \
|
|
${FWSUBDIR}/WCN6855/hw2.0/Notice.txt${DISTURL_SUFFIX}
|
|
|
|
DISTFILES_${FWDRV}= \
|
|
${DISTFILES_qca6390_hw20} \
|
|
${DISTFILES_qcn9074_hw10} \
|
|
${DISTFILES_wcn6855_hw20}
|
|
DISTFILES_${FWDRV}_lic= \
|
|
${DISTFILES_qca6390_hw20_lic} \
|
|
${DISTFILES_qcn9074_hw10_lic} \
|
|
${DISTFILES_wcn6855_hw20_lic}
|
|
|
|
### <<<
|
|
|
|
.include "${BASEDIR}/Makefile.inc"
|