WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / kvm / Makefile
blob506c4ac0ba1c758bcbb9cbac918a7b29e365650c
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for KVM support for MIPS
5 common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o)
7 EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
9 common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
11 kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \
12 interrupt.o stats.o commpage.o \
13 fpu.o
14 kvm-objs += hypcall.o
15 kvm-objs += mmu.o
16 ifdef CONFIG_CPU_LOONGSON64
17 kvm-objs += loongson_ipi.o
18 endif
20 ifdef CONFIG_KVM_MIPS_VZ
21 kvm-objs += vz.o
22 else
23 kvm-objs += dyntrans.o
24 kvm-objs += trap_emul.o
25 endif
26 obj-$(CONFIG_KVM) += kvm.o
27 obj-y += callback.o tlb.o