added KVERS variable to make it possible to compile against a different than the just running kernel (thx. Igor Neves)
This commit is contained in:
parent
cfcd035054
commit
0981be2474
7
Makefile
7
Makefile
|
@ -9,7 +9,12 @@ export INSTALL_PREFIX
|
|||
|
||||
#PATH to linux source/headers
|
||||
#LINUX=/usr/src/linux
|
||||
MODS=/lib/modules/$(shell uname -r)
|
||||
|
||||
ifndef KVERS
|
||||
KVERS:=$(shell uname -r)
|
||||
endif
|
||||
|
||||
MODS=/lib/modules/$(KVERS)
|
||||
LINUX=$(MODS)/build
|
||||
LINUX_SOURCE=$(MODS)/source
|
||||
UPDATE_MODULES=$(shell which update-modules)
|
||||
|
|
Loading…
Reference in New Issue