xref: /linux/arch/arm64/kvm/Makefile (revision 9ed24f4b712b855dcf7be3025b75b051cb73a2b7)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
26211753fSMarc Zyngier#
36211753fSMarc Zyngier# Makefile for Kernel-based Virtual Machine module
46211753fSMarc Zyngier#
56211753fSMarc Zyngier
6*9ed24f4bSMarc Zyngierccflags-y += -I $(srctree)/$(src)
76211753fSMarc Zyngier
86211753fSMarc ZyngierKVM=../../../virt/kvm
96211753fSMarc Zyngier
106211753fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += kvm.o
1106282fd2SMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += hyp/
126211753fSMarc Zyngier
13*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o
14*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/eventfd.o $(KVM)/vfio.o $(KVM)/irqchip.o
15*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += arm.o mmu.o mmio.o
16*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += psci.o perf.o
17*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += hypercalls.o
18*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += pvtime.o
196211753fSMarc Zyngier
202b4d1606SMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o va_layout.o
216211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
2256c7f5e7SAlex Bennéekvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
23eb41238cSAndrew Murraykvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o fpsimd.o pmu.o
24*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += aarch32.o
25*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += arch_timer.o
26*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_PMU)  += pmu-emul.o
276211753fSMarc Zyngier
28*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic.o
29*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-init.o
30*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-irqfd.o
31*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v2.o
32*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v3.o
33*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v4.o
34*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio.o
35*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v2.o
36*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v3.o
37*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-kvm-device.o
38*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-its.o
39*9ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-debug.o
40