mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Makefile: Remove incorrect and suprefluous KDIR variable definition
The KDIR variable assignment gets overwritten by the KDIR=... in the make invocation started from dkms. So it gets never used. (See: https://stackoverflow.com/questions/2826029/passing-additional-variables-from-command-line-to-make ) Even if it would be used it would lead to compilation errors, since KDIR has to be defined by dkms (when it "cross-compiles" for other kernels), not by uname with our current kernel
This commit is contained in:
parent
6b6de61885
commit
9febea9e6f
1
Makefile
1
Makefile
|
@ -3,7 +3,6 @@ obj-m := ./src/tuxedo_keyboard.o
|
||||||
tuxedo_tuxedo-objs := ./src/tuxedo_keyboard.o
|
tuxedo_tuxedo-objs := ./src/tuxedo_keyboard.o
|
||||||
|
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
KDIR := /lib/modules/$(shell uname -r)/build
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
make -C $(KDIR) M=$(PWD) modules
|
make -C $(KDIR) M=$(PWD) modules
|
||||||
|
|
Loading…
Reference in a new issue