Add units to debugfs abi header
[deliverable/lttng-modules.git] / probes / Makefile
1 #
2 # Makefile for the LTT probes.
3 # Only build from the package top-level directory. Never use with make directly.
4
5 ifneq ($(KERNELRELEASE),)
6 ifneq ($(CONFIG_TRACEPOINTS),)
7
8 ccflags-y += -I$(PWD)/probes
9 obj-m += lttng-types.o
10
11 obj-m += lttng-probe-lttng.o
12
13 obj-m += lttng-probe-sched.o
14 obj-m += lttng-probe-kvm.o
15 obj-m += lttng-probe-irq.o
16 obj-m += lttng-probe-block.o
17 obj-m += lttng-probe-syscalls.o
18
19 obj-m += lttng-kprobes.o
20
21 ifneq ($(CONFIG_DYNAMIC_FTRACE),)
22 obj-m += lttng-ftrace.o
23 endif
24
25 endif
26
27 else
28 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
29 PWD := $(shell pwd)
30 CFLAGS = $(EXTCFLAGS)
31
32 default:
33 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
34
35 modules_install:
36 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
37 /sbin/depmod -a
38
39 clean:
40 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
41
42 endif
This page took 0.032634 seconds and 6 git commands to generate.