Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Kernel-based Virtual Machine module |
| 3 | # |
| 4 | |
Avi Kivity | 0fce5623b | 2007-12-16 11:13:16 +0200 | [diff] [blame] | 5 | common-objs = $(addprefix ../../../virt/kvm/, kvm_main.o) |
Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 6 | |
Avi Kivity | 0fce5623b | 2007-12-16 11:13:16 +0200 | [diff] [blame] | 7 | EXTRA_CFLAGS += -I virt/kvm |
Avi Kivity | edf8841 | 2007-12-16 11:02:48 +0200 | [diff] [blame] | 8 | |
| 9 | kvm-objs := $(common-objs) x86.o mmu.o x86_emulate.o i8259.o irq.o lapic.o \ |
| 10 | ioapic.o |
| 11 | obj-$(CONFIG_KVM) += kvm.o |
| 12 | kvm-intel-objs = vmx.o |
| 13 | obj-$(CONFIG_KVM_INTEL) += kvm-intel.o |
| 14 | kvm-amd-objs = svm.o |
| 15 | obj-$(CONFIG_KVM_AMD) += kvm-amd.o |