2012-12-10 16:41:44 +00:00
|
|
|
#
|
|
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
|
|
#
|
|
|
|
|
2017-01-26 14:20:51 +00:00
|
|
|
ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
|
2012-12-10 16:41:44 +00:00
|
|
|
CFLAGS_arm.o := -I.
|
|
|
|
CFLAGS_mmu.o := -I.
|
|
|
|
|
|
|
|
KVM=../../../virt/kvm
|
|
|
|
ARM=../../../arch/arm/kvm
|
|
|
|
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
|
2015-10-19 14:50:37 +00:00
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += hyp/
|
2012-12-10 16:41:44 +00:00
|
|
|
|
2015-06-05 15:21:49 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
|
2012-12-10 16:41:44 +00: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
|
|
|
|
|
2016-09-06 08:28:42 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += 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
|
2015-07-07 16:29:56 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
|
2017-01-26 14:20:51 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o
|
2016-09-06 08:28:42 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/aarch32.o
|
2012-12-10 16:41:44 +00:00
|
|
|
|
2016-03-16 15:06:41 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-init.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-irqfd.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v2.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v3.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v2.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v3.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-kvm-device.o
|
2016-07-15 11:43:38 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o
|
2017-01-17 22:09:13 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-debug.o
|
2016-07-22 16:20:41 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o
|
2015-03-11 13:21:31 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
|
2015-12-08 07:29:06 +00:00
|
|
|
kvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o
|