Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 1 | |
Zhang Xiantao | 0eb8f49 | 2007-12-17 14:16:14 +0800 | [diff] [blame] | 2 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm |
Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 3 | |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame^] | 4 | kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \ |
| 5 | coalesced_mmio.o irq_comm.o) |
| 6 | kvm-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o) |
| 7 | kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o) |
| 8 | |
| 9 | kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ |
| 10 | i8254.o timer.o |
| 11 | kvm-intel-y += vmx.o |
| 12 | kvm-amd-y += svm.o |
| 13 | |
| 14 | obj-$(CONFIG_KVM) += kvm.o |
| 15 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
| 16 | obj-$(CONFIG_KVM_AMD) += kvm-amd.o |