Revert poll exclusive
[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 lttng-context-prio.o lttng-context-nice.o
17
18 ifneq ($(CONFIG_PERF_EVENTS),)
19 ltt-relay-objs += lttng-context-perf-counters.o
20 endif
21
22 obj-m += probes/
23 obj-m += lib/
24
25 endif
26
27 else
28 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
29 PWD := $(shell pwd)
30 CFLAGS = $(EXTCFLAGS)
31
32 default:
33 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
34
35 modules_install:
36 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
37 /sbin/depmod -a
38
39 clean:
40 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
41
42 endif
This page took 0.030216 seconds and 5 git commands to generate.