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