2012-12-11 00:41:44 +08:00
|
|
|
#
|
|
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
|
|
#
|
|
|
|
|
2017-01-26 22:20:51 +08:00
|
|
|
ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
|
2012-12-11 00:41:44 +08:00
|
|
|
CFLAGS_arm.o := -I.
|
|
|
|
CFLAGS_mmu.o := -I.
|
|
|
|
|
|
|
|
KVM=../../../virt/kvm
|
|
|
|
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
|
2015-10-19 22:50:37 +08:00
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += hyp/
|
2012-12-11 00:41:44 +08:00
|
|
|
|
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
|
2017-05-04 19:54:17 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arm.o $(KVM)/arm/mmu.o $(KVM)/arm/mmio.o
|
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/psci.o $(KVM)/arm/perf.o
|
2012-12-11 00:41:44 +08:00
|
|
|
|
2016-09-06 16:28:42 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += 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
|
2017-01-26 22:20:51 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o
|
2016-09-06 16:28:42 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/aarch32.o
|
2012-12-11 00:41:44 +08:00
|
|
|
|
2016-03-16 23:06:41 +08: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 19:43:38 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o
|
2017-01-18 06:09:13 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-debug.o
|
2016-07-23 00:20:41 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o
|
2015-03-11 21:21:31 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
|
2015-12-08 15:29:06 +08:00
|
|
|
kvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o
|