Build fix: check if have syscall tracepoint config
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Jul 2011 19:00:26 +0000 (15:00 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Jul 2011 19:00:26 +0000 (15:00 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/Makefile

index 1b1e51f624f31eb811b3a82bfbbe820924debe98..8e6994a0ffe8a7b5f3bac813a5161e6fd2c30450 100644 (file)
@@ -12,7 +12,10 @@ obj-m += lttng-probe-lttng.o
 
 obj-m += lttng-probe-sched.o
 obj-m += lttng-probe-irq.o
+
+ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
 obj-m += lttng-probe-syscalls.o
+endif
 
 ifneq ($(CONFIG_KVM),)
 obj-m += lttng-probe-kvm.o
This page took 0.026092 seconds and 4 git commands to generate.