Add explicit vmalloc_sync_all
[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
10
11obj-m += ltt-relay.o
12ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
13 ltt-probes.o ltt-core.o
14
15obj-m += probes/
16
17# Use externally packaged lib ring buffer if missing in kernel
18ifneq ($(CONFIG_LIB_RING_BUFFER),)
19else
20obj-m += lib/
21endif
22
23endif
24
25else
26 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
27 PWD := $(shell pwd)
28 CFLAGS = $(EXTCFLAGS)
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.021946 seconds and 4 git commands to generate.