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

34 lines
773 B
Makefile

BASEDIR= ${.CURDIR}/../wifi-firmware-kmod
FWDRV= rtw88
FWSUBDIR= rtw88
FWDRV_VERSION= 20230310
LICENSE= LICENCE.rtlwifi_firmware.txt
LICENSE_NAME= Realtek firmware license (${FWDRV})
FWSUBS= \
rtw8723d \
rtw8822b \
rtw8821c \
rtw8822c
DISTFILES_rtw8723d= \
${FWSUBDIR}/rtw8723d_fw.bin${DISTURL_SUFFIX}
DISTFILES_rtw8822b= \
${FWSUBDIR}/rtw8822b_fw.bin${DISTURL_SUFFIX}
DISTFILES_rtw8821c= \
${FWSUBDIR}/rtw8821c_fw.bin${DISTURL_SUFFIX}
DISTFILES_rtw8822c= \
${FWSUBDIR}/rtw8822c_fw.bin${DISTURL_SUFFIX} \
${FWSUBDIR}/rtw8822c_wow_fw.bin${DISTURL_SUFFIX}
DISTFILES_fw= \
${DISTFILES_rtw8723d} \
${DISTFILES_rtw8822b} \
${DISTFILES_rtw8821c} \
${DISTFILES_rtw8822c}
DISTFILES_lic= \
${FWSUBDIR}/README${DISTURL_SUFFIX}
.include "${BASEDIR}/Makefile.inc"