1 ifneq ($(KERNELRELEASE
),)
4 obj-m
+= test-micro-loop-marker.o
5 obj-m
+= test-micro-loop-empty.o
7 obj-m
+= probe-vararg.o
8 obj-m
+= probe-direct.o
9 obj-m
+= probe-string.o
10 obj-m
+= test-micro-loop-probe.o
12 obj-m
+= test-kprobes.o
13 obj-m
+= test-micro-loop-nop.o
15 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
17 KERNELRELEASE
= $(shell cat
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/include/linux
/version.h | sed
-n
's/.*UTS_RELEASE.*\"\(.*\)\".*/\1/p')
18 ifneq ($(INSTALL_MOD_PATH
),)
19 DEPMOD_OPT
:= -b
$(INSTALL_MOD_PATH
)
23 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
26 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
27 if
[ -f
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/System.map
] ; then
/sbin
/depmod
-ae
-F
$(KERNELDIR
)/$(KBUILD_OUTPUT
)/System.map
$(DEPMOD_OPT
) $(KERNELRELEASE
) ; fi
31 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean
This page took 0.028409 seconds and 4 git commands to generate.