73d4ebea35
Import the most recent versions of the firmware images for the rtw88 driver. This is based on linux-firmware at 681281e49fb6778831370e5d94e6e1d97f0752d6. The license of the firmware matches the previous rtwnfw(4) firmware files (modulo a Copyright year) and you can find a copy in sys/contrib/dev/rtw88fw/LICENCE.rtlwifi_firmware.txt. Add build infrastructure to create the .ko files but do not yet hook it up to the build until all parts are in the tree. Approved by: core (imp) MFC after: 2 weeks
18 lines
343 B
Makefile
18 lines
343 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Common rules for building firmware. Note this gets auto-included
|
|
# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
|
|
|
|
_NAME= rtw${NAME}_fw.bin
|
|
|
|
IMG= ${_NAME}
|
|
KMOD= ${_NAME}
|
|
|
|
CLEANFILES+= ${IMG}
|
|
|
|
FIRMWS= ${IMG}:${IMG}:${VERSION}
|
|
|
|
${IMG}: ${SRCTOP}/sys/contrib/dev/rtw88fw/${IMG}
|
|
cp ${.ALLSRC} ${.TARGET}
|
|
|