Add comm context
[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-ring-buffer-client-discard.o
9 obj-m += ltt-ring-buffer-client-overwrite.o
10 obj-m += ltt-ring-buffer-metadata-client.o
11
12 obj-m += ltt-relay.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
16
17 obj-m += probes/
18 obj-m += lib/
19
20 endif
21
22 else
23 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
24 PWD := $(shell pwd)
25 CFLAGS = $(EXTCFLAGS)
26
27 default:
28 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
29
30 modules_install:
31 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
32 /sbin/depmod -a
33
34 clean:
35 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
36
37 endif
This page took 0.029753 seconds and 5 git commands to generate.