xref: /linux/arch/arm64/kvm/Makefile (revision 662d9715840aef44dcb573b0f9fab9e8319c868a)
16211753fSMarc Zyngier#
26211753fSMarc Zyngier# Makefile for Kernel-based Virtual Machine module
36211753fSMarc Zyngier#
46211753fSMarc Zyngier
56211753fSMarc Zyngierccflags-y += -Ivirt/kvm -Iarch/arm64/kvm
66211753fSMarc ZyngierCFLAGS_arm.o := -I.
76211753fSMarc ZyngierCFLAGS_mmu.o := -I.
86211753fSMarc Zyngier
96211753fSMarc ZyngierKVM=../../../virt/kvm
106211753fSMarc ZyngierARM=../../../arch/arm/kvm
116211753fSMarc Zyngier
126211753fSMarc Zyngierobj-$(CONFIG_KVM_ARM_HOST) += kvm.o
136211753fSMarc Zyngier
146211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o
156211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o
166211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/psci.o $(ARM)/perf.o
176211753fSMarc Zyngier
1827b190bdSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o
196211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
206211753fSMarc Zyngierkvm-$(CONFIG_KVM_ARM_HOST) += guest.o reset.o sys_regs.o sys_regs_generic_v8.o
216211753fSMarc Zyngier
22*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic.o
23*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2.o
24*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2-emul.o
25*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += vgic-v2-switch.o
26*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3.o
27*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3-emul.o
28*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += vgic-v3-switch.o
29*662d9715SChristoffer Dallkvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
30