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