Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Kernel-based Virtual Machine module |
| 3 | # |
| 4 | |
Vijaya Kumar K | d017d7b | 2017-01-26 19:50:51 +0530 | [diff] [blame] | 5 | ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic |
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 |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 10 | |
| 11 | obj-$(CONFIG_KVM_ARM_HOST) += kvm.o |
Marc Zyngier | 06282fd | 2015-10-19 15:50:37 +0100 | [diff] [blame] | 12 | obj-$(CONFIG_KVM_ARM_HOST) += hyp/ |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 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 |
Christoffer Dall | 35d2d5d | 2017-05-04 13:54:17 +0200 | [diff] [blame] | 15 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arm.o $(KVM)/arm/mmu.o $(KVM)/arm/mmio.o |
| 16 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/psci.o $(KVM)/arm/perf.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 17 | |
Marc Zyngier | 427d7ca | 2016-09-06 09:28:42 +0100 | [diff] [blame] | 18 | kvm-$(CONFIG_KVM_ARM_HOST) += 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 |
Alex Bennée | 56c7f5e | 2015-07-07 17:29:56 +0100 | [diff] [blame] | 20 | kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o |
Vijaya Kumar K | d017d7b | 2017-01-26 19:50:51 +0530 | [diff] [blame] | 21 | kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o |
Marc Zyngier | 427d7ca | 2016-09-06 09:28:42 +0100 | [diff] [blame] | 22 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/aarch32.o |
Marc Zyngier | 6211753 | 2012-12-10 16:41:44 +0000 | [diff] [blame] | 23 | |
Andre Przywara | efffe55 | 2016-03-16 15:06:41 +0000 | [diff] [blame] | 24 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic.o |
| 25 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-init.o |
| 26 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-irqfd.o |
| 27 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v2.o |
| 28 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v3.o |
| 29 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio.o |
| 30 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v2.o |
| 31 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v3.o |
| 32 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-kvm-device.o |
Andre Przywara | 0e4e82f | 2016-07-15 12:43:38 +0100 | [diff] [blame] | 33 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o |
Christoffer Dall | 10f92c4 | 2017-01-17 23:09:13 +0100 | [diff] [blame] | 34 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-debug.o |
Eric Auger | 180ae7b | 2016-07-22 16:20:41 +0000 | [diff] [blame] | 35 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 36 | kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o |
Shannon Zhao | 051ff58 | 2015-12-08 15:29:06 +0800 | [diff] [blame] | 37 | kvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o |