blob: d609e1d8404852d02b9fdfeed0aa2103580b7cda [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 \
Alex Williamson2a5bab12013-04-16 13:49:18 -060010 irqchip.o)
11kvm-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += $(addprefix ../../../virt/kvm/, \
12 assigned-dev.o iommu.o)
Gleb Natapovaf585b92010-10-14 11:22:46 +020013kvm-$(CONFIG_KVM_ASYNC_PF) += $(addprefix ../../../virt/kvm/, async_pf.o)
Christoph Hellwig284e9b02009-05-18 08:16:14 -040014
Avi Kivity56e82312009-08-12 15:04:37 +030015kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
Avi Kivitye9d90d42012-07-26 18:01:50 +030016 i8254.o cpuid.o pmu.o
Christoph Hellwig284e9b02009-05-18 08:16:14 -040017kvm-intel-y += vmx.o
18kvm-amd-y += svm.o
19
20obj-$(CONFIG_KVM) += kvm.o
21obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
22obj-$(CONFIG_KVM_AMD) += kvm-amd.o