blob: bee9512cd60deb75355588e67ae3e43770a20c15 [file] [log] [blame]
Avi Kivityedf88412007-12-16 11:02:48 +02001
Zhang Xiantao0eb8f492007-12-17 14:16:14 +08002EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
Avi Kivityedf88412007-12-16 11:02:48 +02003
Christoph Hellwig284e9b02009-05-18 08:16:14 -04004kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
5 coalesced_mmio.o irq_comm.o)
6kvm-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
7kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
8
9kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
10 i8254.o timer.o
11kvm-intel-y += vmx.o
12kvm-amd-y += svm.o
13
14obj-$(CONFIG_KVM) += kvm.o
15obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
16obj-$(CONFIG_KVM_AMD) += kvm-amd.o