blob: 4b2df66c79d853afd54f45a325ebf552c704b7d3 [file] [log] [blame]
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -05001#
2# Makefile for Kernel-based Virtual Machine module
3#
4
5EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm
6
Jerone Young12f67552008-07-14 14:00:02 +02007common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -05008
Jerone Young12f67552008-07-14 14:00:02 +02009common-objs-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o)
10
Hollis Blanchardd9fbd032008-11-05 09:36:13 -060011kvm-objs := $(common-objs-y) powerpc.o emulate.o
Hollis Blanchard73e75b42008-12-02 15:51:57 -060012obj-$(CONFIG_KVM_EXIT_TIMING) += timing.o
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050013obj-$(CONFIG_KVM) += kvm.o
14
15AFLAGS_booke_interrupts.o := -I$(obj)
16
Hollis Blanchard75f74f02008-11-05 09:36:16 -060017kvm-440-objs := \
18 booke.o \
Hollis Blanchardd0c7dc02009-01-03 16:23:06 -060019 booke_emulate.o \
Hollis Blanchard75f74f02008-11-05 09:36:16 -060020 booke_interrupts.o \
21 44x.o \
22 44x_tlb.o \
23 44x_emulate.o
Hollis Blanchard9dd921c2008-11-05 09:36:14 -060024obj-$(CONFIG_KVM_440) += kvm-440.o
Hollis Blanchardbc8080c2009-01-03 16:23:10 -060025
26kvm-e500-objs := \
27 booke.o \
28 booke_emulate.o \
29 booke_interrupts.o \
30 e500.o \
31 e500_tlb.o \
32 e500_emulate.o
33obj-$(CONFIG_KVM_E500) += kvm-e500.o