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 | |
Marcelo Tosatti | 229456f | 2009-06-17 09:22:14 -0300 | [diff] [blame^] | 4 | CFLAGS_x86.o := -I. |
| 5 | CFLAGS_svm.o := -I. |
| 6 | CFLAGS_vmx.o := -I. |
| 7 | |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 8 | kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \ |
Gregory Haskins | 721eecb | 2009-05-20 10:30:49 -0400 | [diff] [blame] | 9 | coalesced_mmio.o irq_comm.o eventfd.o) |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 10 | kvm-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o) |
| 11 | kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o) |
| 12 | |
| 13 | kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ |
| 14 | i8254.o timer.o |
| 15 | kvm-intel-y += vmx.o |
| 16 | kvm-amd-y += svm.o |
| 17 | |
| 18 | obj-$(CONFIG_KVM) += kvm.o |
| 19 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
| 20 | obj-$(CONFIG_KVM_AMD) += kvm-amd.o |