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