Add basic lttng probes generation from TRACE_EVENT
[lttng-modules.git] / Makefile
1 #
2 # Makefile for the LTT objects.
3 #
4
5 ifneq ($(KERNELRELEASE),)
6 ifneq ($(CONFIG_TRACEPOINTS),)
7
8 obj-m += ltt-core.o
9 obj-m += ltt-ring-buffer-client-discard.o
10 obj-m += ltt-ring-buffer-client-overwrite.o
11
12 obj-m += ltt-relay.o
13 ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o
14
15 obj-m += probes/
16
17 #ltt-type-serializer.o
18 #ltt-serialize.o
19 #obj-m += ltt-marker-control.o
20 #obj-m += ltt-trace-control.o
21 #ltt-ascii.o
22
23 #obj-m += ltt-statedump.o
24 #obj-m += ltt-userspace-event.o
25 #obj-m += ltt-filter.o
26 #obj-m += ltt-kprobes.o
27 #obj-m += probes/
28
29 endif
30
31 else
32 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
33 PWD := $(shell pwd)
34 CFLAGS = $(EXTCFLAGS)
35
36 default:
37 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
38
39 modules_install:
40 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
41 /sbin/depmod -a
42
43 clean:
44 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
45
46 endif
This page took 0.030173 seconds and 5 git commands to generate.