blob: 4d0c22e11f1abfd1276cf6d0c43896985d04ce62 [file] [log] [blame]
Avi Kivityedf88412007-12-16 11:02:48 +02001#
2# Makefile for Kernel-based Virtual Machine module
3#
4
Zhang Xiantao0eb8f492007-12-17 14:16:14 +08005common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o ioapic.o)
Avi Kivityedf88412007-12-16 11:02:48 +02006
Zhang Xiantao0eb8f492007-12-17 14:16:14 +08007EXTRA_CFLAGS += -Ivirt/kvm -Iarch/x86/kvm
Avi Kivityedf88412007-12-16 11:02:48 +02008
Sheng Yang78376992008-01-28 05:10:22 +08009kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
10 i8254.o
Avi Kivityedf88412007-12-16 11:02:48 +020011obj-$(CONFIG_KVM) += kvm.o
12kvm-intel-objs = vmx.o
13obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
14kvm-amd-objs = svm.o
15obj-$(CONFIG_KVM_AMD) += kvm-amd.o