From 056f5922eb9235d9163fe7535ce2f803ab8b05dd Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 21 Jul 2011 14:54:59 -0400 Subject: [PATCH] Build fix: ifdef KVM build Signed-off-by: Mathieu Desnoyers --- probes/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/probes/Makefile b/probes/Makefile index f4642d5b..1b1e51f6 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -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 -- 2.34.1