update probe
[lttv.git] / tests / kernel / Makefile
CommitLineData
884367fd 1ifneq ($(KERNELRELEASE),)
2ifneq ($(CONFIG_LTT),)
0bdf8e98 3# obj-m += ltt-facility-loader-tests.o
4# obj-m += test-time-probe.o
5# obj-m += test-time-probe2.o
6# obj-m += test-instrument-size-small.o
7# obj-m += test-instrument-size-med.o
8# obj-m += test-instrument-size-big.o
9# obj-m += test-printk-effect.o
884367fd 10endif
ad32d9aa 11# obj-m += test-cmpxchg.o
12# obj-m += test-cmpxchg-nolock.o
13# obj-m += test-spinlock.o
14# obj-m += test-inc.o
15# obj-m += test-inc-nolock.o
16# obj-m += test-kmalloc.o
17# obj-m += test-irqdis.o
18# obj-m += test-int3.o
f8e77313 19 #obj-m += test-kprobes.o
20 #obj-m += test-printk.o
21 #obj-m += test-debugfs.o
22 obj-m += test-mark.o
abfc2016 23 obj-m += test-mark-instrumented.o
3bb4bef8 24 obj-m += probe.o
f8e77313 25 #obj-m += marker-loader.o
26 #obj-m += test-linuxtrace.o
abfc2016 27
28 CFLAGS_test-mark-instrumented.o += -DFORCE_MARK_JUMP_INLINE
29 CFLAGS_test-mark.o += -funroll-all-loops
884367fd 30else
31 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
32 PWD := $(shell pwd)
33 KERNELRELEASE = $(shell cat $(KERNELDIR)/$(KBUILD_OUTPUT)/include/linux/version.h | sed -n 's/.*UTS_RELEASE.*\"\(.*\)\".*/\1/p')
34ifneq ($(INSTALL_MOD_PATH),)
35 DEPMOD_OPT := -b $(INSTALL_MOD_PATH)
36endif
37
38default:
39 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
40
41modules_install:
42 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
43 if [ -f $(KERNELDIR)/$(KBUILD_OUTPUT)/System.map ] ; then /sbin/depmod -ae -F $(KERNELDIR)/$(KBUILD_OUTPUT)/System.map $(DEPMOD_OPT) $(KERNELRELEASE) ; fi
44
45
46clean:
47 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
48endif
This page took 0.025288 seconds and 4 git commands to generate.