Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Kernel-based Virtual Machine module |
| 3 | # |
| 4 | |
Andre Przywara | 5d9d15a | 2015-03-26 14:39:30 +0000 | [diff] [blame] | 5 | ccflags-y += -Iarch/arm64/kvm |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 6 | CFLAGS_arm.o := -I. |
| 7 | CFLAGS_mmu.o := -I. |
| 8 | |
| 9 | KVM=../../../virt/kvm |
| 10 | ARM=../../../arch/arm/kvm |
| 11 | |
| 12 | obj-$(CONFIG_KVM_ARM_HOST) += kvm.o |
| 13 | |
Kim Phillips | 8889583 | 2015-06-05 16:21:49 +0100 | [diff] [blame] | 14 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 15 | kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o |
| 16 | kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/psci.o $(ARM)/perf.o |
| 17 | |
Marc Zyngier | 27b190b | 2013-02-06 19:54:04 +0000 | [diff] [blame] | 18 | kvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 19 | kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o |
| 20 | kvm-$(CONFIG_KVM_ARM_HOST) += guest.o reset.o sys_regs.o sys_regs_generic_v8.o |
| 21 | |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 22 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic.o |
| 23 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2.o |
| 24 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v2-emul.o |
| 25 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v2-switch.o |
| 26 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3.o |
| 27 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic-v3-emul.o |
| 28 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic-v3-switch.o |
| 29 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o |