blob: ffdd0b310784059527a4837ca040400c170db0d2 [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
Zhang Xiantao0eb8f492007-12-17 14:16:14 +08009kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o
Avi Kivityedf88412007-12-16 11:02:48 +020010obj-$(CONFIG_KVM) += kvm.o
11kvm-intel-objs = vmx.o
12obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
13kvm-amd-objs = svm.o
14obj-$(CONFIG_KVM_AMD) += kvm-amd.o