Fix uninitialized return variable in error path for contexts
[lttng-modules.git] / Makefile
... / ...
CommitLineData
1#
2# Makefile for the LTT objects.
3#
4
5ifneq ($(KERNELRELEASE),)
6ifneq ($(CONFIG_TRACEPOINTS),)
7
8obj-m += ltt-ring-buffer-client-discard.o
9obj-m += ltt-ring-buffer-client-overwrite.o
10obj-m += ltt-ring-buffer-metadata-client.o
11
12obj-m += ltt-relay.o
13ltt-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 lttng-context-vpid.o lttng-context-tid.o \
18 lttng-context-vtid.o lttng-context-ppid.o \
19 lttng-context-vppid.o
20
21ifneq ($(CONFIG_PERF_EVENTS),)
22ltt-relay-objs += lttng-context-perf-counters.o
23endif
24
25obj-m += probes/
26obj-m += lib/
27
28endif
29
30else
31 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
32 PWD := $(shell pwd)
33 CFLAGS = $(EXTCFLAGS)
34
35default:
36 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
37
38modules_install:
39 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
40 /sbin/depmod -a
41
42clean:
43 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
44
45endif
This page took 0.023632 seconds and 4 git commands to generate.