2018-06-08 11:56:32 +02:00
|
|
|
obj-m := ./src/tuxedo_keyboard.o
|
|
|
|
|
|
|
|
tuxedo_tuxedo-objs := ./src/tuxedo_keyboard.o
|
|
|
|
|
|
|
|
PWD := $(shell pwd)
|
2019-07-08 14:36:36 +02:00
|
|
|
KDIR := /lib/modules/$(shell uname -r)/build
|
2018-06-08 11:56:32 +02:00
|
|
|
|
|
|
|
all:
|
|
|
|
make -C $(KDIR) M=$(PWD) modules
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C $(KDIR) M=$(PWD) clean
|
|
|
|
|
|
|
|
install:
|
|
|
|
make -C $(KDIR) M=$(PWD) modules_install
|
|
|
|
|
|
|
|
dkmsadd:
|
2019-12-18 16:55:09 +01:00
|
|
|
cp -R . /usr/src/tuxedo_keyboard-2.0.0
|
|
|
|
dkms add -m tuxedo_keyboard -v 2.0.0
|
2018-06-08 11:56:32 +02:00
|
|
|
|
|
|
|
dkmsremove:
|
2019-12-18 16:55:09 +01:00
|
|
|
dkms remove -m tuxedo_keyboard -v 2.0.0 --all
|
|
|
|
rm -rf /usr/src/tuxedo_keyboard-2.0.0
|