mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Makefile: reintroduce KDIR variable definition, as a default
Necesarry as default when make is called without dkms. If called with dkms, luckily the variable and value passed as command line parameter overides the one defined in the makefile as desired. So removing was not necesarry, details in: https://www.gnu.org/software/make/manual/make.html#Using-Variables
This commit is contained in:
parent
9febea9e6f
commit
94b275f065
1
Makefile
1
Makefile
|
@ -3,6 +3,7 @@ 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