2012-12-11 00:41:44 +08:00
|
|
|
#
|
|
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
|
|
#
|
|
|
|
|
2015-03-26 22:39:30 +08:00
|
|
|
ccflags-y += -Iarch/arm64/kvm
|
2012-12-11 00:41:44 +08:00
|
|
|
CFLAGS_arm.o := -I.
|
|
|
|
CFLAGS_mmu.o := -I.
|
|
|
|
|
|
|
|
KVM=../../../virt/kvm
|
|
|
|
ARM=../../../arch/arm/kvm
|
|
|
|
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
|
|
|
|
|
2015-06-05 23:21:49 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
|
2012-12-11 00:41:44 +08:00
|
|
|
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-07 03:54:04 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o
|
2012-12-11 00:41:44 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
|
2015-07-08 00:29:56 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
|
2012-12-11 00:41:44 +08:00
|
|
|
|
2015-03-11 21:21:31 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2-emul.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v2-switch.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3-emul.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v3-switch.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
|