Add support for DKMS

Adds support for building, installing and uninstalling the driver using
DKMS. Once installed, DKMS will manage the kernel module and automatically
recompile it upon kernel upgrades.

This simplifies the installation and driver maintenance for users.
This commit is contained in:
Magnus Olsson
2016-12-21 21:38:57 +01:00
committed by CGarces
parent 4b6fb2ac29
commit 7d57d3630e
2 changed files with 39 additions and 0 deletions

9
dkms.conf Normal file
View File

@@ -0,0 +1,9 @@
PACKAGE_NAME="rtl8192eu"
PACKAGE_VERSION="1.0"
BUILT_MODULE_NAME="8192eu"
DEST_MODULE_LOCATION="/kernel/drivers/net/wireless/"
REMAKE_INITRD="yes"
AUTOINSTALL="yes"
MAKE="'make' all"
CLEAN="make clean"