Makefile: DKMS fix
Allow DKMS (or anyone) to specify TARGET in Makefile. Signed-off-by: Burt P <pburt0@gmail.com>
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,7 +1,10 @@
|
||||
# For building for the current running version of Linux
|
||||
ifndef TARGET
|
||||
TARGET := $(shell uname -r)
|
||||
endif
|
||||
# Or specific version
|
||||
#TARGET := 2.6.33.5
|
||||
|
||||
KERNEL_MODULES := /lib/modules/$(TARGET)
|
||||
|
||||
ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)")
|
||||
|
Reference in New Issue
Block a user