diff --git a/Makefile b/Makefile index b8d0363..7723023 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this software. If not, see . # -obj-m := ./src/tuxedo_keyboard.o ./src/clevo_acpi.o +obj-m := ./src/tuxedo_keyboard.o ./src/clevo_wmi.o ./src/clevo_acpi.o PWD := $(shell pwd) KDIR := /lib/modules/$(shell uname -r)/build diff --git a/dkms.conf b/dkms.conf index 6406f03..f3b5925 100644 --- a/dkms.conf +++ b/dkms.conf @@ -5,9 +5,13 @@ DEST_MODULE_LOCATION[0]="/kernel/lib/" BUILT_MODULE_NAME[0]="tuxedo_keyboard" BUILT_MODULE_LOCATION[0]="src/" -DEST_MODULE_LOCATION[0]="/kernel/lib/" -BUILT_MODULE_NAME[0]="clevo_acpi" -BUILT_MODULE_LOCATION[0]="src/" +DEST_MODULE_LOCATION[1]="/kernel/lib/" +BUILT_MODULE_NAME[1]="clevo_wmi" +BUILT_MODULE_LOCATION[1]="src/" + +DEST_MODULE_LOCATION[2]="/kernel/lib/" +BUILT_MODULE_NAME[2]="clevo_acpi" +BUILT_MODULE_LOCATION[2]="src/" MAKE[0]="make KDIR=/lib/modules/${kernelver}/build" CLEAN="make clean"