2012-12-10 16:41:44 +00:00
|
|
|
#
|
|
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
|
|
#
|
|
|
|
|
|
|
|
ccflags-y += -Ivirt/kvm -Iarch/arm64/kvm
|
|
|
|
CFLAGS_arm.o := -I.
|
|
|
|
CFLAGS_mmu.o := -I.
|
|
|
|
|
|
|
|
KVM=../../../virt/kvm
|
|
|
|
ARM=../../../arch/arm/kvm
|
|
|
|
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
|
|
|
|
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/psci.o $(ARM)/perf.o
|
|
|
|
|
2013-02-06 19:54:04 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o
|
2012-12-10 16:41:44 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += guest.o reset.o sys_regs.o sys_regs_generic_v8.o
|
|
|
|
|
2013-06-21 10:57:56 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += $(KVM)/arm/vgic.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += $(KVM)/arm/vgic-v2.o
|
2014-06-06 22:53:08 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += $(KVM)/arm/vgic-v2-emul.o
|
2013-06-21 10:57:56 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += vgic-v2-switch.o
|
2013-07-09 09:45:49 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += $(KVM)/arm/vgic-v3.o
|
2014-06-06 22:54:51 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += $(KVM)/arm/vgic-v3-emul.o
|
2013-07-09 09:45:49 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_VGIC) += vgic-v3-switch.o
|
2012-12-10 16:41:44 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_TIMER) += $(KVM)/arm/arch_timer.o
|