Makefile 382 字节
Newer Older
A
Avi Kivity 已提交
1 2 3 4
#
# Makefile for Kernel-based Virtual Machine module
#

5 6 7 8 9 10
common-objs = $(addprefix ../../../drivers/kvm/, kvm_main.o)

EXTRA_CFLAGS += -I drivers/kvm

kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \
	ioapic.o
A
Avi Kivity 已提交
11 12 13 14 15
obj-$(CONFIG_KVM) += kvm.o
kvm-intel-objs = vmx.o
obj-$(CONFIG_KVM_INTEL) += kvm-intel.o
kvm-amd-objs = svm.o
obj-$(CONFIG_KVM_AMD) += kvm-amd.o