Merge tag 'timers-nohz-2020-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-rpi.git] / arch / x86 / kvm / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 ccflags-y += -Iarch/x86/kvm
4 ccflags-$(CONFIG_KVM_WERROR) += -Werror
5
6 KVM := ../../../virt/kvm
7
8 kvm-y                   += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \
9                                 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
10 kvm-$(CONFIG_KVM_ASYNC_PF)      += $(KVM)/async_pf.o
11
12 kvm-y                   += x86.o emulate.o i8259.o irq.o lapic.o \
13                            i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
14                            hyperv.o debugfs.o mmu/mmu.o mmu/page_track.o
15
16 kvm-intel-y             += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o vmx/nested.o
17 kvm-amd-y               += svm.o pmu_amd.o
18
19 obj-$(CONFIG_KVM)       += kvm.o
20 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
21 obj-$(CONFIG_KVM_AMD)   += kvm-amd.o