1 2ccflags-y += -Ivirt/kvm -Iarch/x86/kvm 3 4CFLAGS_x86.o := -I. 5CFLAGS_svm.o := -I. 6CFLAGS_vmx.o := -I. 7 8kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \ 9 coalesced_mmio.o irq_comm.o eventfd.o \ 10 assigned-dev.o) 11kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o) 12kvm-$(CONFIG_KVM_ASYNC_PF) += $(addprefix ../../../virt/kvm/, async_pf.o) 13 14kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \ 15 i8254.o timer.o 16kvm-intel-y += vmx.o 17kvm-amd-y += svm.o 18 19obj-$(CONFIG_KVM) += kvm.o 20obj-$(CONFIG_KVM_INTEL) += kvm-intel.o 21obj-$(CONFIG_KVM_AMD) += kvm-amd.o 22