blob: 5d9810086c254defd58046c6a34da6aabfa42fa3 [file] [log] [blame]
Marc Zyngier62117532012-12-10 16:41:44 +00001#
2# Makefile for Kernel-based Virtual Machine module
3#
4
Vijaya Kumar Kd017d7b2017-01-26 19:50:51 +05305ccflags-y += -Iarch/arm64/kvm -Ivirt/kvm/arm/vgic
Marc Zyngier62117532012-12-10 16:41:44 +00006CFLAGS_arm.o := -I.
7CFLAGS_mmu.o := -I.
8
9KVM=../../../virt/kvm
Marc Zyngier62117532012-12-10 16:41:44 +000010
11obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
Marc Zyngier06282fd2015-10-19 15:50:37 +010012obj-$(CONFIG_KVM_ARM_HOST) += hyp/
Marc Zyngier62117532012-12-10 16:41:44 +000013
Kim Phillips88895832015-06-05 16:21:49 +010014kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
Christoffer Dall35d2d5d2017-05-04 13:54:17 +020015kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arm.o $(KVM)/arm/mmu.o $(KVM)/arm/mmio.o
16kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/psci.o $(KVM)/arm/perf.o
Marc Zyngier62117532012-12-10 16:41:44 +000017
Marc Zyngier427d7ca2016-09-06 09:28:42 +010018kvm-$(CONFIG_KVM_ARM_HOST) += inject_fault.o regmap.o
Marc Zyngier62117532012-12-10 16:41:44 +000019kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
Alex Bennée56c7f5e2015-07-07 17:29:56 +010020kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
Vijaya Kumar Kd017d7b2017-01-26 19:50:51 +053021kvm-$(CONFIG_KVM_ARM_HOST) += vgic-sys-reg-v3.o
Marc Zyngier427d7ca2016-09-06 09:28:42 +010022kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/aarch32.o
Marc Zyngier62117532012-12-10 16:41:44 +000023
Andre Przywaraefffe552016-03-16 15:06:41 +000024kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic.o
25kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-init.o
26kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-irqfd.o
27kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v2.o
28kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v3.o
29kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio.o
30kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v2.o
31kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v3.o
32kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-kvm-device.o
Andre Przywara0e4e82f2016-07-15 12:43:38 +010033kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o
Christoffer Dall10f92c42017-01-17 23:09:13 +010034kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-debug.o
Eric Auger180ae7b2016-07-22 16:20:41 +000035kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o
Christoffer Dall662d9712015-03-11 14:21:31 +010036kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
Shannon Zhao051ff582015-12-08 15:29:06 +080037kvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o