23
32
# eg to compile for a kernel that you aren't currently running
24
33
KERNELRELEASE ?= $(shell uname -r)
25
34
KSRC ?= /lib/modules/$(KERNELRELEASE)/build
27
36
# this is the basic Kbuild invocation, just append your make target
30
39
# fun stuff for maintaining multiple versions
31
40
KSUBLEVEL = $(shell cat $(KSRC)/Makefile | awk -F= '/^SUBLEVEL =/ {print $$2}' | \