1KSP := /lib/modules/$(shell uname -r)/build \ 2 /usr/src/linux-$(shell uname -r) \ 3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \ 4# /usr/src/kernel-headers-$(shell uname -r) \ 5# /usr/src/kernel-source-$(shell uname -r) \ 6# /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \ 7# /usr/src/linux /home/plice 8test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir)) 9KSP := $(foreach dir, $(KSP), $(test_dir))