Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for Kernel-based Virtual Machine module |
| 4 | # |
| 5 | |
Marc Zyngier | 9ed24f4 | 2020-05-13 11:40:34 +0100 | [diff] [blame^] | 6 | ccflags-y += -I $(srctree)/$(src) |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 7 | |
| 8 | KVM=../../../virt/kvm |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 9 | |
| 10 | obj-$(CONFIG_KVM_ARM_HOST) += kvm.o |
Marc Zyngier | 06282fd | 2015-10-19 15:50:37 +0100 | [diff] [blame] | 11 | obj-$(CONFIG_KVM_ARM_HOST) += hyp/ |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 12 | |
Marc Zyngier | 9ed24f4 | 2020-05-13 11:40:34 +0100 | [diff] [blame^] | 13 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o |
| 14 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/eventfd.o $(KVM)/vfio.o $(KVM)/irqchip.o |
| 15 | kvm-$(CONFIG_KVM_ARM_HOST) += arm.o mmu.o mmio.o |
| 16 | kvm-$(CONFIG_KVM_ARM_HOST) += psci.o perf.o |
| 17 | kvm-$(CONFIG_KVM_ARM_HOST) += hypercalls.o |
| 18 | kvm-$(CONFIG_KVM_ARM_HOST) += pvtime.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 19 | |
Marc Zyngier | 2b4d160 | 2017-12-03 17:36:55 +0000 | [diff] [blame] | 20 | kvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o va_layout.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 21 | kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o |
Alex Bennée | 56c7f5e | 2015-07-07 17:29:56 +0100 | [diff] [blame] | 22 | kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o |
Andrew Murray | eb41238 | 2019-04-09 20:22:12 +0100 | [diff] [blame] | 23 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o fpsimd.o pmu.o |
Marc Zyngier | 9ed24f4 | 2020-05-13 11:40:34 +0100 | [diff] [blame^] | 24 | kvm-$(CONFIG_KVM_ARM_HOST) += aarch32.o |
| 25 | kvm-$(CONFIG_KVM_ARM_HOST) += arch_timer.o |
| 26 | kvm-$(CONFIG_KVM_ARM_PMU) += pmu-emul.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 27 | |
Marc Zyngier | 9ed24f4 | 2020-05-13 11:40:34 +0100 | [diff] [blame^] | 28 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic.o |
| 29 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-init.o |
| 30 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-irqfd.o |
| 31 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v2.o |
| 32 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v3.o |
| 33 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-v4.o |
| 34 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio.o |
| 35 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v2.o |
| 36 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-mmio-v3.o |
| 37 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-kvm-device.o |
| 38 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-its.o |
| 39 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic/vgic-debug.o |