Build fix: ifdef KVM build
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Jul 2011 18:54:59 +0000 (14:54 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Jul 2011 18:54:59 +0000 (14:54 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/Makefile

index f4642d5b72d22b26cf89ada925c2ff18282b9929..1b1e51f624f31eb811b3a82bfbbe820924debe98 100644 (file)
@@ -11,10 +11,13 @@ obj-m += lttng-types.o
 obj-m += lttng-probe-lttng.o
 
 obj-m += lttng-probe-sched.o
-obj-m += lttng-probe-kvm.o
 obj-m += lttng-probe-irq.o
 obj-m += lttng-probe-syscalls.o
 
+ifneq ($(CONFIG_KVM),)
+obj-m += lttng-probe-kvm.o
+endif
+
 ifneq ($(CONFIG_BLOCK),)
 ifneq ($(CONFIG_EVENT_TRACING),)       # need blk_cmd_buf_len
 obj-m += lttng-probe-block.o
This page took 0.025838 seconds and 4 git commands to generate.