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