Event metadata description available for sched probe
[lttng-modules.git] / probes / Makefile
1 #
2 # Makefile for the LTT probes.
3 # Only build from the package top-level directory. Never use with make directly.
4
5 ifneq ($(KERNELRELEASE),)
6 ifneq ($(CONFIG_TRACEPOINTS),)
7
8 ccflags-y += -I$(PWD)/probes
9 obj-m += lttng-probe-sched.o
10 obj-m += lttng-types.o
11
12 endif
13
14 else
15 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
16 PWD := $(shell pwd)
17 CFLAGS = $(EXTCFLAGS)
18
19 default:
20 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
21
22 modules_install:
23 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
24 /sbin/depmod -a
25
26 clean:
27 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
28
29 endif
This page took 0.029834 seconds and 5 git commands to generate.