31a7035c4bd9122d99202766ab22aa451ec42b18
[linux-2.6.git] / arch / x86 / kvm / Makefile
1
2 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
3
4 CFLAGS_x86.o := -I.
5 CFLAGS_svm.o := -I.
6 CFLAGS_vmx.o := -I.
7
8 kvm-y                   += $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
9                                 coalesced_mmio.o irq_comm.o eventfd.o \
10                                 assigned-dev.o)
11 kvm-$(CONFIG_IOMMU_API) += $(addprefix ../../../virt/kvm/, iommu.o)
12
13 kvm-y                   += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \
14                            i8254.o timer.o
15 kvm-intel-y             += vmx.o
16 kvm-amd-y               += svm.o
17
18 obj-$(CONFIG_KVM)       += kvm.o
19 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
20 obj-$(CONFIG_KVM_AMD)   += kvm-amd.o