blob: 0e7fe78d0f7493fc3525a3564469b20ccd6da79e [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
Marcelo Tosatti229456f2009-06-17 09:22:14 -03004CFLAGS_x86.o := -I.
5CFLAGS_svm.o := -I.
6CFLAGS_vmx.o := -I.
7
Christoph Hellwig284e9b02009-05-18 08:16:14 -04008kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
Gregory Haskins721eecbf2009-05-20 10:30:49 -04009 coalesced_mmio.o irq_comm.o eventfd.o)
Christoph Hellwig284e9b02009-05-18 08:16:14 -040010kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
11
Avi Kivity56e82312009-08-12 15:04:37 +030012kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
Christoph Hellwig284e9b02009-05-18 08:16:14 -040013 i8254.o timer.o
14kvm-intel-y += vmx.o
15kvm-amd-y += svm.o
16
17obj-$(CONFIG_KVM) += kvm.o
18obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
19obj-$(CONFIG_KVM_AMD) += kvm-amd.o