blob: 695eb3c7ef41fa0436caa9e32b911f7268032cd6 [file] [log] [blame]
Marc Zyngier62117532012-12-10 16:41:44 +00001#
2# Makefile for Kernel-based Virtual Machine module
3#
4
Andre Przywara5d9d15a2015-03-26 14:39:30 +00005ccflags-y += -Iarch/arm64/kvm
Marc Zyngier62117532012-12-10 16:41:44 +00006CFLAGS_arm.o := -I.
7CFLAGS_mmu.o := -I.
8
9KVM=../../../virt/kvm
10ARM=../../../arch/arm/kvm
11
12obj-$(CONFIG_KVM_ARM_HOST) += kvm.o
Marc Zyngier06282fd2015-10-19 15:50:37 +010013obj-$(CONFIG_KVM_ARM_HOST) += hyp/
Marc Zyngier62117532012-12-10 16:41:44 +000014
Kim Phillips88895832015-06-05 16:21:49 +010015kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
Marc Zyngier62117532012-12-10 16:41:44 +000016kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/arm.o $(ARM)/mmu.o $(ARM)/mmio.o
17kvm-$(CONFIG_KVM_ARM_HOST) += $(ARM)/psci.o $(ARM)/perf.o
18
Marc Zyngier27b190b2013-02-06 19:54:04 +000019kvm-$(CONFIG_KVM_ARM_HOST) += emulate.o inject_fault.o regmap.o
Marc Zyngier62117532012-12-10 16:41:44 +000020kvm-$(CONFIG_KVM_ARM_HOST) += hyp.o hyp-init.o handle_exit.o
Alex Bennée56c7f5e2015-07-07 17:29:56 +010021kvm-$(CONFIG_KVM_ARM_HOST) += guest.o debug.o reset.o sys_regs.o sys_regs_generic_v8.o
Marc Zyngier62117532012-12-10 16:41:44 +000022
Andre Przywaraefffe552016-03-16 15:06:41 +000023kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic.o
24kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-init.o
25kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-irqfd.o
26kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v2.o
27kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-v3.o
28kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio.o
29kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v2.o
30kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-mmio-v3.o
31kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-kvm-device.o
Andre Przywara0e4e82f2016-07-15 12:43:38 +010032kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/vgic/vgic-its.o
Eric Auger180ae7b2016-07-22 16:20:41 +000033kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/irqchip.o
Christoffer Dall662d9712015-03-11 14:21:31 +010034kvm-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/arch_timer.o
Shannon Zhao051ff582015-12-08 15:29:06 +080035kvm-$(CONFIG_KVM_ARM_PMU) += $(KVM)/arm/pmu.o