Update lttng trace event support
[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 += sched.o
10
11 endif
12
13 else
14 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
15 PWD := $(shell pwd)
16 CFLAGS = $(EXTCFLAGS)
17
18 default:
19 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
20
21 modules_install:
22 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
23 /sbin/depmod -a
24
25 clean:
26 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
27
28 endif
This page took 0.029796 seconds and 5 git commands to generate.