OSDN Git Service

DKMS support
authorJohn Clemens <john@deater.net>
Mon, 14 Oct 2013 02:10:19 +0000 (22:10 -0400)
committerJohn Clemens <john@deater.net>
Mon, 14 Oct 2013 02:10:19 +0000 (22:10 -0400)
Define CONFIG_RTL8723AS-VAU in the Makefile when KERNELRELEASE
is defined (as when compiling under DKMS). Add a dkms.conf file
and README.dkms with instructions on how to make it work.

Makefile
README.dkms [new file with mode: 0644]
dkms.conf [new file with mode: 0644]

index 8a65cc2..6188519 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -529,6 +529,7 @@ ifeq ($(CONFIG_RTL8723A), y)
 $(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
 endif
 
+CONFIG_REL8723AS-VAU := m
 obj-$(CONFIG_RTL8723AS-VAU) := $(MODULE_NAME).o
 
 else
diff --git a/README.dkms b/README.dkms
new file mode 100644 (file)
index 0000000..f874a95
--- /dev/null
@@ -0,0 +1,14 @@
+
+To ge DKMS to work:
+
+- Install dkms
+- Copy this source to the directory /usr/src/8723au-0.1/
+- Run (as root):
+
+    $ dkms add -m 8723au -v 0.1
+
+- Test a build:
+
+    $ dkms build -m 8723au -v 0.1
+
+From now on this drive should be available for any new kernels.
diff --git a/dkms.conf b/dkms.conf
new file mode 100644 (file)
index 0000000..60e7f4b
--- /dev/null
+++ b/dkms.conf
@@ -0,0 +1,5 @@
+PACKAGE_NAME="8723au"
+PACKAGE_VERSION="0.1"
+BUILD_MODULE_NAME[0]="8723au"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless"
+AUTOINSTALL="yes"