2 # Makefile for Kernel-based Virtual Machine module
5 common-objs
= $(addprefix ..
/..
/..
/virt
/kvm
/, kvm_main.o ioapic.o
)
6 ifeq ($(CONFIG_KVM_TRACE
),y
)
7 common-objs
+= $(addprefix ..
/..
/..
/virt
/kvm
/, kvm_trace.o
)
10 EXTRA_CFLAGS
+= -Ivirt
/kvm
-Iarch
/x86
/kvm
12 kvm-objs
:= $(common-objs
) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
14 obj-
$(CONFIG_KVM
) += kvm.o
15 kvm-intel-objs
= vmx.o
16 obj-
$(CONFIG_KVM_INTEL
) += kvm-intel.o
18 obj-
$(CONFIG_KVM_AMD
) += kvm-amd.o