blob: f15501f431c8d972a2eb3cc8dd6fb8c5870e248f [file] [log] [blame]
Avi Kivityedf88412007-12-16 11:02:48 +02001
Tracey Dent9d893c62010-11-06 14:52:58 -04002ccflags-y += -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 \
Avi Kivitybfd99ff2009-08-26 14:57:50 +03009 coalesced_mmio.o irq_comm.o eventfd.o \
10 assigned-dev.o)
Christoph Hellwig284e9b02009-05-18 08:16:14 -040011kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
Gleb Natapovaf585b92010-10-14 11:22:46 +020012kvm-$(CONFIG_KVM_ASYNC_PF) += $(addprefix ../../../virt/kvm/, async_pf.o)
Christoph Hellwig284e9b02009-05-18 08:16:14 -040013
Avi Kivity56e82312009-08-12 15:04:37 +030014kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
Christoph Hellwig284e9b02009-05-18 08:16:14 -040015 i8254.o timer.o
16kvm-intel-y += vmx.o
17kvm-amd-y += svm.o
18
19obj-$(CONFIG_KVM) += kvm.o
20obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
21obj-$(CONFIG_KVM_AMD) += kvm-amd.o