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