1 2ccflags-y += -Iarch/x86/kvm 3 4CFLAGS_x86.o := -I. 5CFLAGS_svm.o := -I. 6CFLAGS_vmx.o := -I. 7 8KVM := ../../../virt/kvm 9 10kvm-y += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \ 11 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o 12kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o 13 14kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \ 15 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \ 16 hyperv.o page_track.o 17 18kvm-$(CONFIG_KVM_DEVICE_ASSIGNMENT) += assigned-dev.o iommu.o 19 20kvm-intel-y += vmx.o pmu_intel.o 21kvm-amd-y += svm.o pmu_amd.o 22 23obj-$(CONFIG_KVM) += kvm.o 24obj-$(CONFIG_KVM_INTEL) += kvm-intel.o 25obj-$(CONFIG_KVM_AMD) += kvm-amd.o 26