Makefile 597 B

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