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
12 ltt-relay-objs
:= ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
13 ltt-probes.o ltt-core.o
17 # Use externally packaged lib ring buffer if missing in kernel
18 ifneq ($(CONFIG_LIB_RING_BUFFER
),)
26 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
31 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
34 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules_install
38 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) clean