[rtwn] Add rtwn firmware and driver module.

Submitted by:	kevlo
This commit is contained in:
Adrian Chadd 2015-12-31 22:33:32 +00:00
parent bcaed14bd9
commit b6ac0e6565
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293011
5 changed files with 34 additions and 0 deletions

View File

@ -311,6 +311,8 @@ SUBDIR= \
re \
reiserfs \
rl \
rtwn \
rtwnfw \
${_s3} \
${_safe} \
${_sbni} \

View File

@ -0,0 +1,5 @@
# $FreeBSD$
SUBDIR= rtwnrtl8192cU rtwnrtl8192cUB
.include <bsd.subdir.mk>

View File

@ -0,0 +1,15 @@
# $FreeBSD$
#
# Common rules for building firmware. Note this gets auto-included
# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
_FIRM= ${IMG}.fw
CLEANFILES+= ${_FIRM}
FIRMWS= ${_FIRM}:${KMOD}:111
FIRMWARE_LICENSE= realtek
${_FIRM}: ${.CURDIR}/../../../contrib/dev/rtwn/${_FIRM}.uu
uudecode -p $? > ${.TARGET}

View File

@ -0,0 +1,6 @@
# $FreeBSD$
KMOD= rtwn-rtl8192cfwU
IMG= rtwn-rtl8192cfwU
.include <bsd.kmod.mk>

View File

@ -0,0 +1,6 @@
# $FreeBSD$
KMOD= rtwn-rtl8192cfwU_B
IMG= rtwn-rtl8192cfwU_B
.include <bsd.kmod.mk>