2 # Makefile for Kernel-based Virtual Machine module
5 common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
7 ifeq ($(CONFIG_KVM_TRACE),y)
8 common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
11 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
13 kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
15 obj-$(CONFIG_KVM) += kvm.o
16 kvm-intel-objs = vmx.o
17 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
19 obj-$(CONFIG_KVM_AMD) += kvm-amd.o