freebsd-ports/net/wifi-firmware-ath10k-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

88 lines
3.3 KiB
Makefile

BASEDIR= ${.CURDIR}/../wifi-firmware-kmod
FWDRV= ath10k
FWSUBDIR= ath10k
FWDRV_VERSION= 20230310
LICENSE= LICENSE.QualcommAtheros_ath10k
LICENSE_NAME= QCA firmware license (${FWDRV})
FWSUBS= \
QCA6174_hw21 \
QCA6174_hw30 \
QCA9377_hw10 \
QCA9887_hw10 \
QCA9888_hw20 \
QCA988X_hw20 \
QCA9984_hw10 \
QCA99X0_hw20
DISTFILES_QCA6174_hw21= \
${FWSUBDIR}/QCA6174/hw2.1/board.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw2.1/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw2.1/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA6174_hw21_lic= \
${FWSUBDIR}/QCA6174/hw2.1/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_QCA6174_hw30= \
${FWSUBDIR}/QCA6174/hw3.0/board.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw3.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw3.0/firmware-4.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw3.0/firmware-6.bin${DISTURL_SUFFIX}
DISTFILES_QCA6174_hw30_lic= \
${FWSUBDIR}/QCA6174/hw3.0/notice_ath10k_firmware-4.txt${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA6174/hw3.0/notice_ath10k_firmware-6.txt${DISTURL_SUFFIX}
DISTFILES_QCA9377_hw10= \
${FWSUBDIR}/QCA9377/hw1.0/board.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9377/hw1.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9377/hw1.0/firmware-5.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9377/hw1.0/firmware-6.bin${DISTURL_SUFFIX}
DISTFILES_QCA9377_hw10_lic= \
${FWSUBDIR}/QCA9377/hw1.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9377/hw1.0/notice_ath10k_firmware-6.txt${DISTURL_SUFFIX}
DISTFILES_QCA9887_hw10= \
${FWSUBDIR}/QCA9887/hw1.0/board.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9887/hw1.0/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA9887_hw10_lic= \
${FWSUBDIR}/QCA9887/hw1.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_QCA9888_hw20= \
${FWSUBDIR}/QCA9888/hw2.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9888/hw2.0/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA9888_hw20_lic= \
${FWSUBDIR}/QCA9888/hw2.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_QCA988X_hw20= \
${FWSUBDIR}/QCA988X/hw2.0/board.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA988X/hw2.0/firmware-4.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA988X/hw2.0/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA988X_hw20_lic= \
${FWSUBDIR}/QCA988X/hw2.0/notice_ath10k_firmware-4.txt${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA988X/hw2.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_QCA9984_hw10= \
${FWSUBDIR}/QCA9984/hw1.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA9984/hw1.0/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA9984_hw10_lic= \
${FWSUBDIR}/QCA9984/hw1.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_QCA99X0_hw20= \
${FWSUBDIR}/QCA99X0/hw2.0/board-2.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/QCA99X0/hw2.0/firmware-5.bin${DISTURL_SUFFIX}
DISTFILES_QCA99X0_hw20_lic= \
${FWSUBDIR}/QCA99X0/hw2.0/notice_ath10k_firmware-5.txt${DISTURL_SUFFIX}
DISTFILES_fw= \
${DISTFILES_QCA6174_hw21} \
${DISTFILES_QCA6174_hw30} \
${DISTFILES_QCA9377_hw10} \
${DISTFILES_QCA9887_hw10} \
${DISTFILES_QCA9888_hw20} \
${DISTFILES_QCA988X_hw20} \
${DISTFILES_QCA9984_hw10} \
${DISTFILES_QCA99X0_hw20}
DISTFILES_lic= \
${DISTFILES_QCA6174_hw21_lic} \
${DISTFILES_QCA6174_hw30_lic} \
${DISTFILES_QCA9377_hw10_lic} \
${DISTFILES_QCA9887_hw10_lic} \
${DISTFILES_QCA9888_hw20_lic} \
${DISTFILES_QCA988X_hw20_lic} \
${DISTFILES_QCA9984_hw10_lic} \
${DISTFILES_QCA99X0_hw20_lic}
.include "${BASEDIR}/Makefile.inc"