Permalink
Browse files

Change PACKAGE_VERSION, set KVERSION, update README

  • Loading branch information...
1 parent 3bf9cab commit 12715b4b54a866eb3a16050b1a73e05ef1efa58c @Lekensteyn Lekensteyn committed Jan 1, 2012
Showing with 8 additions and 5 deletions.
  1. +6 −3 README.md
  2. +2 −2 dkms/dkms.conf
View
@@ -35,10 +35,13 @@ If your card is supported, there should be no error. Otherwise, you get a "No
such device" (ENODEV) error. Check your kernel log (dmesg) for more
information.
-### DKMS support
+DKMS support
+------------
-inside the "dkms" directory a file is provided for dkms support. Note that the
-kernel version must be changed.
+Change `#MODULE_VERSION#` to the current version of bbswitch. Copy the
+Makefile, C source and dkms.conf file to `/usr/src/bbswitch-VERSION/` (replace
+VERSION with the current version of bbswitch which has been inserted for
+`#MODULE_VERSION#`.
Usage
-----
View
@@ -1,6 +1,6 @@
PACKAGE_NAME="bbswitch"
-PACKAGE_VERSION="REPLACE"
-MAKE[0]="make"
+PACKAGE_VERSION="#MODULE_VERSION#"
+MAKE[0]="make KVERSION=$kernelver"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="bbswitch"
DEST_MODULE_LOCATION[0]="/kernel/drivers/acpi"

0 comments on commit 12715b4

Please sign in to comment.