From: Mathieu Desnoyers Date: Thu, 21 Jul 2011 18:54:59 +0000 (-0400) Subject: Build fix: ifdef KVM build X-Git-Tag: v2.0-pre1~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=056f5922eb9235d9163fe7535ce2f803ab8b05dd;p=lttng-modules.git Build fix: ifdef KVM build Signed-off-by: Mathieu Desnoyers --- 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