Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 1 | |
Tracey Dent | 9d893c6 | 2010-11-06 14:52:58 -0400 | [diff] [blame] | 2 | ccflags-y += -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 | |
Marc Zyngier | 535cf7b | 2013-05-14 14:31:02 +0100 | [diff] [blame] | 8 | KVM := ../../../virt/kvm |
| 9 | |
| 10 | kvm-y += $(KVM)/kvm_main.o $(KVM)/ioapic.o \ |
| 11 | $(KVM)/coalesced_mmio.o $(KVM)/irq_comm.o \ |
| 12 | $(KVM)/eventfd.o $(KVM)/irqchip.o |
| 13 | kvm-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += $(KVM)/assigned-dev.o $(KVM)/iommu.o |
| 14 | kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 15 | |
Avi Kivity | 56e8231 | 2009-08-12 15:04:37 +0300 | [diff] [blame] | 16 | kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \ |
Avi Kivity | e9d90d4 | 2012-07-26 18:01:50 +0300 | [diff] [blame] | 17 | i8254.o cpuid.o pmu.o |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 18 | kvm-intel-y += vmx.o |
| 19 | kvm-amd-y += svm.o |
| 20 | |
| 21 | obj-$(CONFIG_KVM) += kvm.o |
| 22 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
| 23 | obj-$(CONFIG_KVM_AMD) += kvm-amd.o |