From d1f0a913349e1a29deaf7c155527586e7f43b50b Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Fri, 4 Dec 2020 13:18:11 +0100 Subject: [PATCH] Update build to include clevo_wmi --- Makefile | 2 +- dkms.conf | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) 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"