summaryrefslogtreecommitdiffstats
path: root/sys/modules/usb
diff options
context:
space:
mode:
authorhiren <hiren@FreeBSD.org>2013-07-10 08:21:09 +0000
committerhiren <hiren@FreeBSD.org>2013-07-10 08:21:09 +0000
commitbef0b386920c0c9dec8c841dcb3324e62159114d (patch)
tree50180344aaee7b5d864d3b6dcebee4e225a52181 /sys/modules/usb
parent297aa5d1c50925206ffba65c284cc0110efdf323 (diff)
downloadFreeBSD-src-bef0b386920c0c9dec8c841dcb3324e62159114d.zip
FreeBSD-src-bef0b386920c0c9dec8c841dcb3324e62159114d.tar.gz
Adding urtwn(4) firmware and related changes.
Reviewed by: rpaulo Approved by: sbruno (mentor)
Diffstat (limited to 'sys/modules/usb')
-rw-r--r--sys/modules/usb/urtwnfw/Makefile5
-rw-r--r--sys/modules/usb/urtwnfw/Makefile.inc15
-rw-r--r--sys/modules/usb/urtwnfw/urtwnrtl8192cT/Makefile6
-rw-r--r--sys/modules/usb/urtwnfw/urtwnrtl8192cU/Makefile6
4 files changed, 32 insertions, 0 deletions
diff --git a/sys/modules/usb/urtwnfw/Makefile b/sys/modules/usb/urtwnfw/Makefile
new file mode 100644
index 0000000..c5ae0d5
--- /dev/null
+++ b/sys/modules/usb/urtwnfw/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+SUBDIR= urtwnrtl8192cT urtwnrtl8192cU
+
+.include <bsd.subdir.mk>
diff --git a/sys/modules/usb/urtwnfw/Makefile.inc b/sys/modules/usb/urtwnfw/Makefile.inc
new file mode 100644
index 0000000..fc03cf4
--- /dev/null
+++ b/sys/modules/usb/urtwnfw/Makefile.inc
@@ -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/urtwn/${_FIRM}.uu
+ uudecode -p $? > ${.TARGET}
diff --git a/sys/modules/usb/urtwnfw/urtwnrtl8192cT/Makefile b/sys/modules/usb/urtwnfw/urtwnrtl8192cT/Makefile
new file mode 100644
index 0000000..ef49984
--- /dev/null
+++ b/sys/modules/usb/urtwnfw/urtwnrtl8192cT/Makefile
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+KMOD= urtwn-rtl8192cfwT
+IMG= urtwn-rtl8192cfwT
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/usb/urtwnfw/urtwnrtl8192cU/Makefile b/sys/modules/usb/urtwnfw/urtwnrtl8192cU/Makefile
new file mode 100644
index 0000000..e9a932c
--- /dev/null
+++ b/sys/modules/usb/urtwnfw/urtwnrtl8192cU/Makefile
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+KMOD= urtwn-rtl8192cfwU
+IMG= urtwn-rtl8192cfwU
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud