Fix bitfield.h include directory
[deliverable/lttng-modules.git] / probes / Makefile
CommitLineData
6d61b34d
MD
1#
2# Makefile for the LTT probes.
df4b4094 3# Only build from the package top-level directory. Never use with make directly.
6d61b34d
MD
4
5ifneq ($(KERNELRELEASE),)
6ifneq ($(CONFIG_TRACEPOINTS),)
7
8ccflags-y += -I$(PWD)/probes
40652b65 9obj-m += lttng-types.o
6d61b34d 10
cd4bd11f
MD
11obj-m += lttng-probe-lttng.o
12
6db3d13b
MD
13obj-m += lttng-probe-sched.o
14obj-m += lttng-probe-kvm.o
0d1d4002 15obj-m += lttng-probe-irq.o
d32a57a2 16obj-m += lttng-probe-block.o
6db3d13b 17
6d61b34d
MD
18endif
19
20else
21 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
22 PWD := $(shell pwd)
23 CFLAGS = $(EXTCFLAGS)
24
25default:
26 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
27
28modules_install:
29 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
30 /sbin/depmod -a
31
32clean:
33 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
34
35endif
This page took 0.029414 seconds and 5 git commands to generate.