diff options
Diffstat (limited to 'arch/powerpc/kvm/Makefile')
-rw-r--r-- | arch/powerpc/kvm/Makefile | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile index 4d6863823f69..08428e2c188d 100644 --- a/arch/powerpc/kvm/Makefile +++ b/arch/powerpc/kvm/Makefile | |||
@@ -38,24 +38,42 @@ kvm-e500-objs := \ | |||
38 | e500_emulate.o | 38 | e500_emulate.o |
39 | kvm-objs-$(CONFIG_KVM_E500) := $(kvm-e500-objs) | 39 | kvm-objs-$(CONFIG_KVM_E500) := $(kvm-e500-objs) |
40 | 40 | ||
41 | kvm-book3s_64-objs := \ | 41 | kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_PR) := \ |
42 | $(common-objs-y) \ | 42 | ../../../virt/kvm/coalesced_mmio.o \ |
43 | fpu.o \ | 43 | fpu.o \ |
44 | book3s_paired_singles.o \ | 44 | book3s_paired_singles.o \ |
45 | book3s.o \ | 45 | book3s_pr.o \ |
46 | book3s_emulate.o \ | 46 | book3s_emulate.o \ |
47 | book3s_interrupts.o \ | 47 | book3s_interrupts.o \ |
48 | book3s_mmu_hpte.o \ | 48 | book3s_mmu_hpte.o \ |
49 | book3s_64_mmu_host.o \ | 49 | book3s_64_mmu_host.o \ |
50 | book3s_64_mmu.o \ | 50 | book3s_64_mmu.o \ |
51 | book3s_32_mmu.o | 51 | book3s_32_mmu.o |
52 | kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-objs) | 52 | |
53 | kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \ | ||
54 | book3s_hv.o \ | ||
55 | book3s_hv_interrupts.o \ | ||
56 | book3s_64_mmu_hv.o | ||
57 | kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \ | ||
58 | book3s_hv_rm_mmu.o \ | ||
59 | book3s_64_vio_hv.o \ | ||
60 | book3s_hv_builtin.o | ||
61 | |||
62 | kvm-book3s_64-module-objs := \ | ||
63 | ../../../virt/kvm/kvm_main.o \ | ||
64 | powerpc.o \ | ||
65 | emulate.o \ | ||
66 | book3s.o \ | ||
67 | $(kvm-book3s_64-objs-y) | ||
68 | |||
69 | kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs) | ||
53 | 70 | ||
54 | kvm-book3s_32-objs := \ | 71 | kvm-book3s_32-objs := \ |
55 | $(common-objs-y) \ | 72 | $(common-objs-y) \ |
56 | fpu.o \ | 73 | fpu.o \ |
57 | book3s_paired_singles.o \ | 74 | book3s_paired_singles.o \ |
58 | book3s.o \ | 75 | book3s.o \ |
76 | book3s_pr.o \ | ||
59 | book3s_emulate.o \ | 77 | book3s_emulate.o \ |
60 | book3s_interrupts.o \ | 78 | book3s_interrupts.o \ |
61 | book3s_mmu_hpte.o \ | 79 | book3s_mmu_hpte.o \ |
@@ -70,3 +88,4 @@ obj-$(CONFIG_KVM_E500) += kvm.o | |||
70 | obj-$(CONFIG_KVM_BOOK3S_64) += kvm.o | 88 | obj-$(CONFIG_KVM_BOOK3S_64) += kvm.o |
71 | obj-$(CONFIG_KVM_BOOK3S_32) += kvm.o | 89 | obj-$(CONFIG_KVM_BOOK3S_32) += kvm.o |
72 | 90 | ||
91 | obj-y += $(kvm-book3s_64-builtin-objs-y) | ||