blob: 7a3768538343133674aa15d25a8c65679f043f39 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Marc Zyngier62117532012-12-10 16:41:44 +00002#
3# Makefile for Kernel-based Virtual Machine module
4#
5
Marc Zyngier9ed24f42020-05-13 11:40:34 +01006ccflags-y += -I $(srctree)/$(src)
Marc Zyngier62117532012-12-10 16:41:44 +00007
8KVM=../../../virt/kvm
Marc Zyngier62117532012-12-10 16:41:44 +00009
10obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
Marc Zyngier06282fd2015-10-19 15:50:37 +010011obj-$(CONFIG_KVM_ARM_HOST) += hyp/
Marc Zyngier62117532012-12-10 16:41:44 +000012
Marc Zyngier9ed24f42020-05-13 11:40:34 +010013kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o
14kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/eventfd.o $(KVM)/vfio.o $(KVM)/irqchip.o
15kvm-$(CONFIG_KVM_ARM_HOST) += arm.o mmu.o mmio.o
16kvm-$(CONFIG_KVM_ARM_HOST) += psci.o perf.o
17kvm-$(CONFIG_KVM_ARM_HOST) += hypercalls.o
18kvm-$(CONFIG_KVM_ARM_HOST) += pvtime.o
Marc Zyngier62117532012-12-10 16:41:44 +000019
Marc Zyngier2b4d1602017-12-03 17:36:55 +000020kvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o va_layout.o
Marc Zyngier62117532012-12-10 16:41:44 +000021kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
Alex Bennée56c7f5e2015-07-07 17:29:56 +010022kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
Andrew Murrayeb412382019-04-09 20:22:12 +010023kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o fpsimd.o pmu.o
Marc Zyngier9ed24f42020-05-13 11:40:34 +010024kvm-$(CONFIG_KVM_ARM_HOST) += aarch32.o
25kvm-$(CONFIG_KVM_ARM_HOST) += arch_timer.o
26kvm-$(CONFIG_KVM_ARM_PMU) += pmu-emul.o
Marc Zyngier62117532012-12-10 16:41:44 +000027
Marc Zyngier9ed24f42020-05-13 11:40:34 +010028kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic.o
29kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-init.o
30kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-irqfd.o
31kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v2.o
32kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v3.o
33kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v4.o
34kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio.o
35kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v2.o
36kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v3.o
37kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-kvm-device.o
38kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-its.o
39kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-debug.o