Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 1 | |
Andre Przywara | f0e4b27 | 2015-03-26 14:39:31 +0000 | [diff] [blame] | 2 | ccflags-y += -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 | |
Paolo Bonzini | 6ef768f | 2014-11-20 13:45:31 +0100 | [diff] [blame] | 10 | kvm-y += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \ |
Alex Williamson | ec53500 | 2013-10-30 11:02:17 -0600 | [diff] [blame] | 11 | $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o |
Marc Zyngier | 535cf7b | 2013-05-14 14:31:02 +0100 | [diff] [blame] | 12 | kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 13 | |
Avi Kivity | 56e8231 | 2009-08-12 15:04:37 +0300 | [diff] [blame] | 14 | kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \ |
Andrey Smetanin | e83d588 | 2015-07-03 15:01:34 +0300 | [diff] [blame] | 15 | i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \ |
Luiz Capitulino | 235539b | 2016-09-07 14:47:23 -0400 | [diff] [blame] | 16 | hyperv.o page_track.o debugfs.o |
Andrey Smetanin | e83d588 | 2015-07-03 15:01:34 +0300 | [diff] [blame] | 17 | |
Radim Krčmář | c274e03 | 2014-11-21 22:21:50 +0100 | [diff] [blame] | 18 | kvm-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += assigned-dev.o iommu.o |
Xiao Guangrong | 21ebbed | 2016-02-24 17:51:09 +0800 | [diff] [blame] | 19 | |
Wei Huang | 25462f7 | 2015-06-19 15:45:05 +0200 | [diff] [blame] | 20 | kvm-intel-y += vmx.o pmu_intel.o |
| 21 | kvm-amd-y += svm.o pmu_amd.o |
Christoph Hellwig | 284e9b0 | 2009-05-18 08:16:14 -0400 | [diff] [blame] | 22 | |
| 23 | obj-$(CONFIG_KVM) += kvm.o |
| 24 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
| 25 | obj-$(CONFIG_KVM_AMD) += kvm-amd.o |