pinctrl: make a copy of pinmux map
[linux/fpc-iii.git] / arch / powerpc / kvm / Makefile
blob3688aeecc4b24e1762a7289dc8d61a54a44c1ac7
2 # Makefile for Kernel-based Virtual Machine module
5 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
7 ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm
9 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
11 CFLAGS_44x_tlb.o := -I.
12 CFLAGS_e500_tlb.o := -I.
13 CFLAGS_emulate.o := -I.
15 common-objs-y += powerpc.o emulate.o
16 obj-$(CONFIG_KVM_EXIT_TIMING) += timing.o
17 obj-$(CONFIG_KVM_BOOK3S_HANDLER) += book3s_exports.o
19 AFLAGS_booke_interrupts.o := -I$(obj)
21 kvm-440-objs := \
22 $(common-objs-y) \
23 booke.o \
24 booke_emulate.o \
25 booke_interrupts.o \
26 44x.o \
27 44x_tlb.o \
28 44x_emulate.o
29 kvm-objs-$(CONFIG_KVM_440) := $(kvm-440-objs)
31 kvm-e500-objs := \
32 $(common-objs-y) \
33 booke.o \
34 booke_emulate.o \
35 booke_interrupts.o \
36 e500.o \
37 e500_tlb.o \
38 e500_emulate.o
39 kvm-objs-$(CONFIG_KVM_E500) := $(kvm-e500-objs)
41 kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_PR) := \
42 ../../../virt/kvm/coalesced_mmio.o \
43 fpu.o \
44 book3s_paired_singles.o \
45 book3s_pr.o \
46 book3s_pr_papr.o \
47 book3s_emulate.o \
48 book3s_interrupts.o \
49 book3s_mmu_hpte.o \
50 book3s_64_mmu_host.o \
51 book3s_64_mmu.o \
52 book3s_32_mmu.o
53 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_PR) := \
54 book3s_rmhandlers.o
56 kvm-book3s_64-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \
57 book3s_hv.o \
58 book3s_hv_interrupts.o \
59 book3s_64_mmu_hv.o
60 kvm-book3s_64-builtin-objs-$(CONFIG_KVM_BOOK3S_64_HV) := \
61 book3s_hv_rmhandlers.o \
62 book3s_hv_rm_mmu.o \
63 book3s_64_vio_hv.o \
64 book3s_hv_builtin.o
66 kvm-book3s_64-module-objs := \
67 ../../../virt/kvm/kvm_main.o \
68 powerpc.o \
69 emulate.o \
70 book3s.o \
71 $(kvm-book3s_64-objs-y)
73 kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs)
75 kvm-book3s_32-objs := \
76 $(common-objs-y) \
77 fpu.o \
78 book3s_paired_singles.o \
79 book3s.o \
80 book3s_pr.o \
81 book3s_emulate.o \
82 book3s_interrupts.o \
83 book3s_mmu_hpte.o \
84 book3s_32_mmu_host.o \
85 book3s_32_mmu.o
86 kvm-objs-$(CONFIG_KVM_BOOK3S_32) := $(kvm-book3s_32-objs)
88 kvm-objs := $(kvm-objs-m) $(kvm-objs-y)
90 obj-$(CONFIG_KVM_440) += kvm.o
91 obj-$(CONFIG_KVM_E500) += kvm.o
92 obj-$(CONFIG_KVM_BOOK3S_64) += kvm.o
93 obj-$(CONFIG_KVM_BOOK3S_32) += kvm.o
95 obj-y += $(kvm-book3s_64-builtin-objs-y)