acpi_pad: build only on X86
[linux-2.6/linux-acpi-2.6.git] / arch / x86 / kvm / Makefile
blobb43c4efafe80133cab8ab26a4bbabc9e5fac263a
2 # Makefile for Kernel-based Virtual Machine module
5 common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o \
6 coalesced_mmio.o irq_comm.o)
7 ifeq ($(CONFIG_KVM_TRACE),y)
8 common-objs += $(addprefix ../../../virt/kvm/, kvm_trace.o)
9 endif
10 ifeq ($(CONFIG_IOMMU_API),y)
11 common-objs += $(addprefix ../../../virt/kvm/, iommu.o)
12 endif
14 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
16 kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
17 i8254.o timer.o
18 obj-$(CONFIG_KVM) += kvm.o
19 kvm-intel-objs = vmx.o
20 obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
21 kvm-amd-objs = svm.o
22 obj-$(CONFIG_KVM_AMD) += kvm-amd.o