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:
Chrisian Richter 2007-03-05 23:22:01 +00:00
parent cfcd035054
commit 0981be2474
1 changed files with 6 additions and 1 deletions

View File

@ -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)