Event metadata description available for sched probe
[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
d0dd2ecb 9obj-m += lttng-probe-sched.o
40652b65 10obj-m += lttng-types.o
6d61b34d
MD
11
12endif
13
14else
15 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
16 PWD := $(shell pwd)
17 CFLAGS = $(EXTCFLAGS)
18
19default:
20 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
21
22modules_install:
23 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
24 /sbin/depmod -a
25
26clean:
27 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
28
29endif
This page took 0.02557 seconds and 4 git commands to generate.