Merge branch 'next' into for-linus
[linux-2.6] / arch / powerpc / kvm / Makefile
1 #
2 # Makefile for Kernel-based Virtual Machine module
3 #
4
5 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm
6
7 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
8
9 common-objs-$(CONFIG_KVM_TRACE)  += $(addprefix ../../../virt/kvm/, kvm_trace.o)
10
11 kvm-objs := $(common-objs-y) powerpc.o emulate.o
12 obj-$(CONFIG_KVM_EXIT_TIMING) += timing.o
13 obj-$(CONFIG_KVM) += kvm.o
14
15 AFLAGS_booke_interrupts.o := -I$(obj)
16
17 kvm-440-objs := \
18         booke.o \
19         booke_emulate.o \
20         booke_interrupts.o \
21         44x.o \
22         44x_tlb.o \
23         44x_emulate.o
24 obj-$(CONFIG_KVM_440) += kvm-440.o
25
26 kvm-e500-objs := \
27         booke.o \
28         booke_emulate.o \
29         booke_interrupts.o \
30         e500.o \
31         e500_tlb.o \
32         e500_emulate.o
33 obj-$(CONFIG_KVM_E500) += kvm-e500.o