mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
8f79c11c71
Cleanup the extra layer of "flavour" that came into the build framework when flavours were introduced at a time when it was not planned. Make linters some more happy. [1] Remove the special license hack to install additional files. If DISABLE_LICENSES is set we still installed files making builds fail [2]. One would hope to always install the lincese files but simply disable any checking by the framework. Introduce a new way using LICENSE_COMB=multi to install the default license file, the extra WHENCE and any possible extra firmware license files. Technically this is an abuse of the system too but at least it should work and not break non default options. Based on: D45369 by jrm [1] Reported by: pi [2] Sponsored by: The FreeBSD Foundation Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D46124
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_FILE= 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"
|