X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Flttng-syscalls-extractor%2FMakefile;h=4beb88c05c3ad11433133fe2a02dd1e256d6e6f2;hb=daaf627aaa66c434d9274c6616977a6edc07b6ca;hp=07f09d46b362747ac45c590d7a5cc2e5c2510233;hpb=733ce41dc418c2b7ea1c8c6d569f7951836b29f8;p=lttng-modules.git diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/Makefile b/instrumentation/syscalls/lttng-syscalls-extractor/Makefile index 07f09d46..4beb88c0 100644 --- a/instrumentation/syscalls/lttng-syscalls-extractor/Makefile +++ b/instrumentation/syscalls/lttng-syscalls-extractor/Makefile @@ -1,23 +1 @@ -ifneq ($(KERNELRELEASE),) -ifneq ($(CONFIG_TRACEPOINTS),) - obj-m += lttng-syscalls-extractor.o - -endif - -else - KERNELDIR ?= /lib/modules/$(shell uname -r)/build - PWD := $(shell pwd) - CFLAGS = $(EXTCFLAGS) - -default: - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules - -modules_install: - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install - /sbin/depmod -a - -clean: - $(MAKE) -C $(KERNELDIR) M=$(PWD) clean - -endif