blob: 31a7035c4bd9122d99202766ab22aa451ec42b18 [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 \
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)
12
Avi Kivity56e82312009-08-12 15:04:37 +030013kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
Christoph Hellwig284e9b02009-05-18 08:16:14 -040014 i8254.o timer.o
15kvm-intel-y += vmx.o
16kvm-amd-y += svm.o
17
18obj-$(CONFIG_KVM) += kvm.o
19obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
20obj-$(CONFIG_KVM_AMD) += kvm-amd.o