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