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