LTTng modules now builds again
[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 #ltt-type-serializer.o
16 #ltt-serialize.o
17 #obj-m += ltt-marker-control.o
18 #obj-m += ltt-trace-control.o
19 #ltt-ascii.o
20
21 #obj-m += ltt-statedump.o
22 #obj-m += ltt-userspace-event.o
23 #obj-m += ltt-filter.o
24 #obj-m += ltt-kprobes.o
25 #obj-m += probes/
26
27 endif
28
29 else
30 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
31 PWD := $(shell pwd)
32 CFLAGS = $(EXTCFLAGS)
33
34 default:
35 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
36
37 modules_install:
38 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
39 /sbin/depmod -a
40
41 clean:
42 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
43
44 endif
This page took 0.029632 seconds and 5 git commands to generate.