[WATCHDOG] Merge code clean-up's from Alan Cox.
[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 = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
8
9 kvm-objs := $(common-objs) powerpc.o emulate.o booke_guest.o
10 obj-$(CONFIG_KVM) += kvm.o
11
12 AFLAGS_booke_interrupts.o := -I$(obj)
13
14 kvm-booke-host-objs := booke_host.o booke_interrupts.o 44x_tlb.o
15 obj-$(CONFIG_KVM_BOOKE_HOST) += kvm-booke-host.o