2 # Makefile for the LTT objects.
5 ifneq ($(KERNELRELEASE
),)
6 ifneq ($(CONFIG_TRACEPOINTS
),)
8 obj-m
+= ltt-ring-buffer-client-discard.o
9 obj-m
+= ltt-ring-buffer-client-overwrite.o
10 obj-m
+= ltt-ring-buffer-metadata-client.o
13 ltt-relay-objs
:= ltt-events.o ltt-debugfs-abi.o \
14 ltt-probes.o ltt-core.o ltt-context.o \
15 lttng-context-pid.o lttng-context-comm.o
23 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
28 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
31 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
35 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean