freebsd-ports/net/wifi-firmware-ath11k-kmod/Makefile
Bjoern A. Zeeb 6247964e51 net/wifi-firmware-*: use metaport for "base" and switch to Makefile.inc
Rename the wifi-firmware-base to wifi-firmware-kmod (similar to
gpu-firmware-mod).  The former was never build so technically it
is no move.  Make the new subdir a metaport including all
wireless firmware.
Move the old Makefile to Makefile.inc and adjust the child ports
accordingly.

This solves two problems: (1) the base port is now buildable and (2)
there is a single port to depend on to add all the needed firmware
files to, e.g., put on a release media.

Suggested by:	amdmi3
PR:		270742
Reviewed by:	ehaupt, jrm
Approved by:	ehaupt, jrm
Differential Revision: https://reviews.freebsd.org/D40014
2023-05-12 11:57:09 +00:00

105 lines
4.3 KiB
Makefile

BASEDIR= ${.CURDIR}/../wifi-firmware-kmod
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.inc"