kvm: qemu: fix option_rom_setup_reset address
[kvm-userspace.git] / kernel / x86 / Kbuild
blobd3aca00546fd909976bad6de52c9d0d2241f3711
1 # trick to get the kvm-specific CONFIG_KVM_* definitions,
2 # because the kernel source tree won't have them
3 include $(obj)/../config.kbuild
5 obj-m := kvm.o kvm-intel.o kvm-amd.o
6 kvm-objs := kvm_main.o x86.o mmu.o x86_emulate.o ../anon_inodes.o irq.o i8259.o \
7          lapic.o ioapic.o preempt.o i8254.o coalesced_mmio.o irq_comm.o \
8          timer.o \
9          ../external-module-compat.o
10 ifeq ($(EXT_CONFIG_KVM_TRACE),y)
11 kvm-objs += kvm_trace.o
12 endif
13 ifeq ($(CONFIG_IOMMU_API),y)
14 kvm-objs += iommu.o
15 endif
16 kvm-intel-objs := vmx.o vmx-debug.o ../external-module-compat.o
17 kvm-amd-objs := svm.o ../external-module-compat.o
19 CFLAGS_kvm_main.o = -DKVM_MAIN