Commit graph

3 commits

Author SHA1 Message Date
Richard Sailer 94b275f065 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
2019-07-08 14:36:36 +02:00
Richard Sailer 9febea9e6f 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
2019-06-10 14:24:03 +02:00
Christian Loritz 134c6d9831 Initial commit 2018-06-08 11:56:32 +02:00