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