• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-y += -Iarch/x86/kvm
4
5CFLAGS_x86.o := -I.
6CFLAGS_svm.o := -I.
7CFLAGS_vmx.o := -I.
8
9KVM := ../../../virt/kvm
10
11kvm-y			+= $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o \
12				$(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
13kvm-$(CONFIG_KVM_ASYNC_PF)	+= $(KVM)/async_pf.o
14
15kvm-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
18
19kvm-intel-y		+= vmx.o pmu_intel.o
20kvm-amd-y		+= svm.o pmu_amd.o
21
22obj-$(CONFIG_KVM)	+= kvm.o
23obj-$(CONFIG_KVM_INTEL)	+= kvm-intel.o
24obj-$(CONFIG_KVM_AMD)	+= kvm-amd.o
25