xref: /linux/arch/arm64/kvm/Makefile (revision eb41238cf19fda694e3a99c1f4f58bd88479a5ee)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
26211753fSMarc Zyngier#
36211753fSMarc Zyngier# Makefile for Kernel-based Virtual Machine module
46211753fSMarc Zyngier#
56211753fSMarc Zyngier
605277f36SMasahiro Yamadaccflags-y += -I $(srctree)/$(src) -I $(srctree)/virt/kvm/arm/vgic
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
138889583cSKim Phillipskvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
1435d2d5d4SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arm.o $(KVM)/arm/mmu.o $(KVM)/arm/mmio.o
1535d2d5d4SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/psci.o $(KVM)/arm/perf.o
166211753fSMarc Zyngier
172b4d1606SMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o va_layout.o
186211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
1956c7f5e7SAlex Bennéekvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
20*eb41238cSAndrew Murraykvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o fpsimd.o pmu.o
21427d7cacSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/aarch32.o
226211753fSMarc Zyngier
23efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic.o
24efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-init.o
25efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-irqfd.o
26efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v2.o
27efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v3.o
2874fe55dcSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v4.o
29efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio.o
30efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v2.o
31efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v3.o
32efffe55aSAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-kvm-device.o
330e4e82f1SAndre Przywarakvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o
3410f92c4cSChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-debug.o
35180ae7b1SEric Augerkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o
36662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
37051ff581SShannon Zhaokvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o
38