aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/Makefile')
-rw-r--r--arch/x86/kvm/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile
index b43c4efafe80..bee9512cd60d 100644
--- a/arch/x86/kvm/Makefile
+++ b/arch/x86/kvm/Makefile
@@ -1,22 +1,16 @@
1#
2# Makefile for Kernel-based Virtual Machine module
3#
4
5common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
6 coalesced_mmio.o irq_comm.o)
7ifeq ($(CONFIG_KVM_TRACE),y)
8common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
9endif
10ifeq ($(CONFIG_IOMMU_API),y)
11common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
12endif
13 1
14EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm 2EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
15 3
16kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ 4kvm-y += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
17 i8254.o timer.o 5 coalesced_mmio.o irq_comm.o)
18obj-$(CONFIG_KVM) += kvm.o 6kvm-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
19kvm-intel-objs = vmx.o 7kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
20obj-$(CONFIG_KVM_INTEL) += kvm-intel.o 8
21kvm-amd-objs = svm.o 9kvm-y += x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
22obj-$(CONFIG_KVM_AMD) += kvm-amd.o 10 i8254.o timer.o
11kvm-intel-y += vmx.o
12kvm-amd-y += svm.o
13
14obj-$(CONFIG_KVM) += kvm.o
15obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
16obj-$(CONFIG_KVM_AMD) += kvm-amd.o