Add explicit vmalloc_sync_all
[lttng-modules.git] / Makefile
CommitLineData
1c8284eb
MD
1#
2# Makefile for the LTT objects.
3#
4
5ifneq ($(KERNELRELEASE),)
11b5a3c2 6ifneq ($(CONFIG_TRACEPOINTS),)
1c8284eb 7
11b5a3c2
MD
8obj-m += ltt-ring-buffer-client-discard.o
9obj-m += ltt-ring-buffer-client-overwrite.o
1c8284eb
MD
10
11obj-m += ltt-relay.o
02119ee5 12ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
a509e133 13 ltt-probes.o ltt-core.o
11b5a3c2 14
6d61b34d
MD
15obj-m += probes/
16
f3bc08c5
MD
17# Use externally packaged lib ring buffer if missing in kernel
18ifneq ($(CONFIG_LIB_RING_BUFFER),)
19else
20obj-m += lib/
21endif
22
1c8284eb
MD
23endif
24
25else
26 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
27 PWD := $(shell pwd)
2e6246b4 28 CFLAGS = $(EXTCFLAGS)
1c8284eb
MD
29
30default:
31 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
32
33modules_install:
34 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
35 /sbin/depmod -a
36
37clean:
38 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
39
40endif
This page took 0.030973 seconds and 4 git commands to generate.