xref: /linux/arch/arm64/kvm/Makefile (revision d82755b2e781c8989614c82df7582f5649e265b8)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
26211753fSMarc Zyngier#
36211753fSMarc Zyngier# Makefile for Kernel-based Virtual Machine module
46211753fSMarc Zyngier#
56211753fSMarc Zyngier
69ed24f4bSMarc Zyngierccflags-y += -I $(srctree)/$(src)
76211753fSMarc Zyngier
86211753fSMarc ZyngierKVM=../../../virt/kvm
96211753fSMarc Zyngier
10*d82755b2SWill Deaconobj-$(CONFIG_KVM) += kvm.o
11*d82755b2SWill Deaconobj-$(CONFIG_KVM) += hyp/
126211753fSMarc Zyngier
13*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o
14*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += $(KVM)/eventfd.o $(KVM)/vfio.o $(KVM)/irqchip.o
15*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += arm.o mmu.o mmio.o
16*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += psci.o perf.o
17*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += hypercalls.o
18*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += pvtime.o
196211753fSMarc Zyngier
20*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += inject_fault.o regmap.o va_layout.o
21*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += hyp.o hyp-init.o handle_exit.o
22*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
23*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic-sys-reg-v3.o fpsimd.o pmu.o
24*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += aarch32.o
25*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += arch_timer.o
269ed24f4bSMarc Zyngierkvm-$(CONFIG_KVM_ARM_PMU)  += pmu-emul.o
276211753fSMarc Zyngier
28*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic.o
29*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-init.o
30*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-irqfd.o
31*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-v2.o
32*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-v3.o
33*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-v4.o
34*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-mmio.o
35*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-mmio-v2.o
36*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-mmio-v3.o
37*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-kvm-device.o
38*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-its.o
39*d82755b2SWill Deaconkvm-$(CONFIG_KVM) += vgic/vgic-debug.o
40