Detailed system call tracing (TRACE_EVENT() generation for integer support)
[lttng-modules.git] / instrumentation / syscalls / lttng-syscalls-extractor / Makefile
diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/Makefile b/instrumentation/syscalls/lttng-syscalls-extractor/Makefile
new file mode 100644 (file)
index 0000000..07f09d4
--- /dev/null
@@ -0,0 +1,23 @@
+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
This page took 0.02323 seconds and 4 git commands to generate.