xref: /linux/arch/arm64/kvm/Makefile (revision d8f6ef45a623d650f9b97e11553adb4978f6aa70)
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
8*d8f6ef45SDavid Woodhouseinclude $(srctree)/virt/kvm/Makefile.kvm
96211753fSMarc Zyngier
10d82755b2SWill Deaconobj-$(CONFIG_KVM) += kvm.o
11d82755b2SWill Deaconobj-$(CONFIG_KVM) += hyp/
126211753fSMarc Zyngier
13*d8f6ef45SDavid Woodhousekvm-y += arm.o mmu.o mmio.o psci.o perf.o hypercalls.o pvtime.o \
1490c1f934SMarc Zyngier	 inject_fault.o va_layout.o handle_exit.o \
15750ed566SJames Morse	 guest.o debug.o reset.o sys_regs.o \
1625357de0SFuad Tabba	 vgic-sys-reg-v3.o fpsimd.o pmu.o \
17a8e190cdSArd Biesheuvel	 arch_timer.o trng.o\
1825357de0SFuad Tabba	 vgic/vgic.o vgic/vgic-init.o \
1925357de0SFuad Tabba	 vgic/vgic-irqfd.o vgic/vgic-v2.o \
2025357de0SFuad Tabba	 vgic/vgic-v3.o vgic/vgic-v4.o \
2125357de0SFuad Tabba	 vgic/vgic-mmio.o vgic/vgic-mmio-v2.o \
2225357de0SFuad Tabba	 vgic/vgic-mmio-v3.o vgic/vgic-kvm-device.o \
2325357de0SFuad Tabba	 vgic/vgic-its.o vgic/vgic-debug.o
246211753fSMarc Zyngier
258cbebc41SMarc Zyngierkvm-$(CONFIG_HW_PERF_EVENTS)  += pmu-emul.o
26