mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 07:36:47 +07:00
19de40a847
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
23 lines
630 B
Makefile
23 lines
630 B
Makefile
#
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
#
|
|
|
|
common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
|
|
coalesced_mmio.o irq_comm.o)
|
|
ifeq ($(CONFIG_KVM_TRACE),y)
|
|
common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
|
|
endif
|
|
ifeq ($(CONFIG_IOMMU_API),y)
|
|
common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
|
|
endif
|
|
|
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
|
|
|
|
kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
|
|
i8254.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
kvm-intel-objs = vmx.o
|
|
obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
|
|
kvm-amd-objs = svm.o
|
|
obj-$(CONFIG_KVM_AMD) += kvm-amd.o
|