Makefile 1.0 KB

1234567891011121314151617181920212223242526272829
  1. #
  2. # Makefile for Kernel-based Virtual Machine module
  3. #
  4. ccflags-y += -Iarch/arm64/kvm
  5. CFLAGS_arm.o := -I.
  6. CFLAGS_mmu.o := -I.
  7. KVM=../../../virt/kvm
  8. ARM=../../../arch/arm/kvm
  9. obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
  10. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
  11. kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o
  12. kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/psci.o $(ARM)/perf.o
  13. kvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o
  14. kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
  15. kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
  16. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic.o
  17. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2.o
  18. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2-emul.o
  19. kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v2-switch.o
  20. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3.o
  21. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3-emul.o
  22. kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v3-switch.o
  23. kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o