Update build to include clevo_wmi

This commit is contained in:
Christoffer Sandberg 2020-12-04 13:18:11 +01:00
parent 14c37444e6
commit d1f0a91334
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D
2 changed files with 8 additions and 4 deletions

View file

@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this software. If not, see <https://www.gnu.org/licenses/>. # along with this software. If not, see <https://www.gnu.org/licenses/>.
# #
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) PWD := $(shell pwd)
KDIR := /lib/modules/$(shell uname -r)/build KDIR := /lib/modules/$(shell uname -r)/build

View file

@ -5,9 +5,13 @@ DEST_MODULE_LOCATION[0]="/kernel/lib/"
BUILT_MODULE_NAME[0]="tuxedo_keyboard" BUILT_MODULE_NAME[0]="tuxedo_keyboard"
BUILT_MODULE_LOCATION[0]="src/" BUILT_MODULE_LOCATION[0]="src/"
DEST_MODULE_LOCATION[0]="/kernel/lib/" DEST_MODULE_LOCATION[1]="/kernel/lib/"
BUILT_MODULE_NAME[0]="clevo_acpi" BUILT_MODULE_NAME[1]="clevo_wmi"
BUILT_MODULE_LOCATION[0]="src/" 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" MAKE[0]="make KDIR=/lib/modules/${kernelver}/build"
CLEAN="make clean" CLEAN="make clean"