Commit | Line | Data |
---|---|---|
5fee13fd MD |
1 | ifneq ($(KERNELRELEASE),) |
2 | ifneq ($(CONFIG_TRACEPOINTS),) | |
3 | ||
4 | obj-m += lttng-syscalls-extractor.o | |
5 | ||
6 | endif | |
7 | ||
8 | else | |
9 | KERNELDIR ?= /lib/modules/$(shell uname -r)/build | |
10 | PWD := $(shell pwd) | |
11 | CFLAGS = $(EXTCFLAGS) | |
12 | ||
13 | default: | |
14 | $(MAKE) -C $(KERNELDIR) M=$(PWD) modules | |
15 | ||
16 | modules_install: | |
17 | $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install | |
18 | /sbin/depmod -a | |
19 | ||
20 | clean: | |
21 | $(MAKE) -C $(KERNELDIR) M=$(PWD) clean | |
22 | ||
23 | endif |