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