staging: remove intel_sst driver
[zen-stable.git] / drivers / staging / lttng / probes / Makefile
blobbdc1179ec8a8ea400a23221b608046c59452945f
2 # Makefile for the LTT probes.
5 ccflags-y += -I$(PWD)/probes
6 obj-m += lttng-types.o
8 obj-m += lttng-probe-lttng.o
10 obj-m += lttng-probe-sched.o
11 obj-m += lttng-probe-irq.o
13 ifneq ($(CONFIG_KVM),)
14 obj-m += lttng-probe-kvm.o
15 endif
17 ifneq ($(CONFIG_BLOCK),)
18 ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len
19 obj-m += $(shell \
20 if [ $(VERSION) -ge 3 \
21 -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 38 \) ] ; then \
22 echo "lttng-probe-block.o" ; fi;)
23 endif
24 endif
26 ifneq ($(CONFIG_KPROBES),)
27 obj-m += lttng-kprobes.o
28 endif
31 ifneq ($(CONFIG_KRETPROBES),)
32 obj-m += lttng-kretprobes.o
33 endif
35 ifneq ($(CONFIG_DYNAMIC_FTRACE),)
36 obj-m += lttng-ftrace.o
37 endif