Add explicit vmalloc_sync_all
[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
11 obj-m += ltt-relay.o
12 ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
13 ltt-probes.o ltt-core.o
14
15 obj-m += probes/
16
17 # Use externally packaged lib ring buffer if missing in kernel
18 ifneq ($(CONFIG_LIB_RING_BUFFER),)
19 else
20 obj-m += lib/
21 endif
22
23 endif
24
25 else
26 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
27 PWD := $(shell pwd)
28 CFLAGS = $(EXTCFLAGS)
29
30 default:
31 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
32
33 modules_install:
34 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
35 /sbin/depmod -a
36
37 clean:
38 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
39
40 endif
This page took 0.030345 seconds and 5 git commands to generate.