Fix teardown deadlock
[lttng-modules.git] / probes / Makefile
CommitLineData
6d61b34d
MD
1#
2# Makefile for the LTT probes.
df4b4094 3# Only build from the package top-level directory. Never use with make directly.
6d61b34d
MD
4
5ifneq ($(KERNELRELEASE),)
6ifneq ($(CONFIG_TRACEPOINTS),)
7
8ccflags-y += -I$(PWD)/probes
40652b65 9obj-m += lttng-types.o
6d61b34d 10
6db3d13b
MD
11obj-m += lttng-probe-sched.o
12obj-m += lttng-probe-kvm.o
0d1d4002 13obj-m += lttng-probe-irq.o
d32a57a2 14obj-m += lttng-probe-block.o
6db3d13b 15
6d61b34d
MD
16endif
17
18else
19 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
20 PWD := $(shell pwd)
21 CFLAGS = $(EXTCFLAGS)
22
23default:
24 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
25
26modules_install:
27 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
28 /sbin/depmod -a
29
30clean:
31 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
32
33endif
This page took 0.023586 seconds and 4 git commands to generate.