Hollis Blanchard | bbf45ba | 2008-04-16 23:28:09 -0500 | [diff] [blame] | 1 | # |
| 2 | # Makefile for Kernel-based Virtual Machine module |
| 3 | # |
| 4 | |
| 5 | EXTRA_CFLAGS += -Ivirt/kvm -Iarch/powerpc/kvm |
| 6 | |
Jerone Young | 12f6755 | 2008-07-14 14:00:02 +0200 | [diff] [blame] | 7 | common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o) |
Hollis Blanchard | bbf45ba | 2008-04-16 23:28:09 -0500 | [diff] [blame] | 8 | |
Jerone Young | 12f6755 | 2008-07-14 14:00:02 +0200 | [diff] [blame] | 9 | common-objs-$(CONFIG_KVM_TRACE) += $(addprefix ../../../virt/kvm/, kvm_trace.o) |
| 10 | |
Hollis Blanchard | d9fbd03 | 2008-11-05 09:36:13 -0600 | [diff] [blame] | 11 | kvm-objs := $(common-objs-y) powerpc.o emulate.o |
Hollis Blanchard | 73e75b4 | 2008-12-02 15:51:57 -0600 | [diff] [blame] | 12 | obj-$(CONFIG_KVM_EXIT_TIMING) += timing.o |
Hollis Blanchard | bbf45ba | 2008-04-16 23:28:09 -0500 | [diff] [blame] | 13 | obj-$(CONFIG_KVM) += kvm.o |
| 14 | |
| 15 | AFLAGS_booke_interrupts.o := -I$(obj) |
| 16 | |
Hollis Blanchard | 75f74f0 | 2008-11-05 09:36:16 -0600 | [diff] [blame] | 17 | kvm-440-objs := \ |
| 18 | booke.o \ |
Hollis Blanchard | d0c7dc0 | 2009-01-03 16:23:06 -0600 | [diff] [blame] | 19 | booke_emulate.o \ |
Hollis Blanchard | 75f74f0 | 2008-11-05 09:36:16 -0600 | [diff] [blame] | 20 | booke_interrupts.o \ |
| 21 | 44x.o \ |
| 22 | 44x_tlb.o \ |
| 23 | 44x_emulate.o |
Hollis Blanchard | 9dd921c | 2008-11-05 09:36:14 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_KVM_440) += kvm-440.o |
Hollis Blanchard | bc8080c | 2009-01-03 16:23:10 -0600 | [diff] [blame^] | 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 |