freebsd-ports/net/wifi-firmware-ath11k-kmod/Makefile
Bjoern A. Zeeb 3082cab3f8 net/wifi-firmware-*: add framework and firmware for various WiFi chipsets
Add a "base port framework" to fetch (WiFi) firmware and license files
from the linux-firmware.git repository and an accompanying FreeBSD
build kmod framework tarball (for now; we might do without that in
the future).
Add child ports for Realtek rtw88 and rtw89, Mediatek mt76, and
Atheros ath10k and ath11k firmware as a start.

This is a beginning in order to stop bloating src.git and the
installed kernels with lots of MB of firmware files whereas usually
only one vebdor/chipset/flavor is needed.  Before fully switching
more infrastructure needs to be in place but this is the first and
most important step.

PR:		270742
Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Differential Revision: https://reviews.freebsd.org/D39487
2023-04-22 15:21:22 +00:00

105 lines
4.3 KiB
Makefile

BASEDIR= ${.CURDIR}/../wifi-firmware-base
FWDRV= ath11k
FWSUBDIR= ath11k
FWDRV_VERSION= 20230310
# Yes, the license is the ath10k one; see WHENCE.
LICENSE= LICENSE.QualcommAtheros_ath10k
LICENSE_NAME= QCA firmware license (${FWDRV})
FWSUBS= \
QCA6390_hw20 \
QCN9074_hw10
# IPQ6018_hw10 \
# IPQ8074_hw20 \
# WCN6855_hw20 \
# WCN6750_hw10
DISTFILES_QCA6390_hw20= \
${FWSUBDIR}/QCA6390/hw2.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6390/hw2.0/amss.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/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCN9074/hw1.0/amss.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCN9074/hw1.0/m3.bin${DISTURL_SUFFIX}
DISTFILES_QCN9074_hw10_lic= \
${FWSUBDIR}/QCN9074/hw1.0/Notice.txt${DISTURL_SUFFIX}
DISTFILES_IPQ6018_hw10= \
${FWSUBDIR}/IPQ6018/hw1.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/m3_fw.b00${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/m3_fw.b01${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/m3_fw.b02${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/m3_fw.flist${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/m3_fw.mdt${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b00${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b01${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b02${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b03${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b04${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b05${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b07${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.b08${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.flist${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ6018/hw1.0/q6_fw.mdt${DISTURL_SUFFIX}
DISTFILES_IPQ6018_hw10_lic= \
${FWSUBDIR}/IPQ6018/hw1.0/Notice.txt${DISTURL_SUFFIX}
DISTFILES_IPQ8074_hw20= \
${FWSUBDIR}/IPQ8074/hw2.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/m3_fw.b00${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/m3_fw.b01${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/m3_fw.b02${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/m3_fw.flist${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/m3_fw.mdt${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b00${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b01${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b02${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b03${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b04${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b05${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b07${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.b08${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.flist${DISTURL_SUFFIX} \
${FWSUBDIR}/IPQ8074/hw2.0/q6_fw.mdt${DISTURL_SUFFIX}
DISTFILES_IPQ8074_hw20_lic= \
${FWSUBDIR}/IPQ8074/hw2.0/Notice.txt${DISTURL_SUFFIX}
DISTFILES_WCN6855_hw20= \
${FWSUBDIR}/WCN6855/hw2.0/regdb.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6855/hw2.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6855/hw2.0/amss.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6855/hw2.0/m3.bin${DISTURL_SUFFIX}
DISTFILES_WCN6855_hw20_lic= \
${FWSUBDIR}/WCN6855/hw2.0/Notice.txt${DISTURL_SUFFIX}
DISTFILES_WCN6750_hw10= \
${FWSUBDIR}/WCN6750/hw1.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b00${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b01${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b02${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b03${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b04${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b05${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b06${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b07${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.b08${DISTURL_SUFFIX} \
${FWSUBDIR}/WCN6750/hw1.0/wpss.mdt${DISTURL_SUFFIX}
DISTFILES_WCN6750_hw10_lic= \
${FWSUBDIR}/WCN6750/hw1.0/Notice.txt${DISTURL_SUFFIX}
DISTFILES_fw= \
${DISTFILES_QCA6390_hw20} \
${DISTFILES_QCN9074_hw10}
# ${DISTFILES_IPQ6018_hw10} \
# ${DISTFILES_IPQ8074_hw20} \
# ${DISTFILES_WCN6855_hw20} \
# ${DISTFILES_WCN6750_hw10}
DISTFILES_lic= \
${DISTFILES_QCA6390_hw20_lic} \
${DISTFILES_QCN9074_hw10_lic}
# ${DISTFILES_IPQ6018_hw10_lic} \
# ${DISTFILES_IPQ8074_hw20_lic} \
# ${DISTFILES_WCN6855_hw20_lic} \
# ${DISTFILES_WCN6750_hw10_lic}
.include "${BASEDIR}/Makefile"