Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / x86 / kvm / Makefile
blobdc4f2fdf5e5793aee01ca5b301f2139bda73bb50
1 # SPDX-License-Identifier: GPL-2.0
3 ccflags-y += -Iarch/x86/kvm
5 CFLAGS_x86.o := -I.
6 CFLAGS_svm.o := -I.
7 CFLAGS_vmx.o := -I.
9 KVM := ../../../virt/kvm
11 kvm-y += $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \
12 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
13 kvm-$(CONFIG_KVM_ASYNC_PF) += $(KVM)/async_pf.o
15 kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
16 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
17 hyperv.o page_track.o debugfs.o
19 kvm-intel-y += vmx.o pmu_intel.o
20 kvm-amd-y += svm.o pmu_amd.o
22 obj-$(CONFIG_KVM) += kvm.o
23 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
24 obj-$(CONFIG_KVM_AMD) += kvm-amd.o