xref: /linux/arch/mips/kvm/Makefile (revision 56f7a4405047353684e0d083d7426594daa5e344)
103a0331cSSanjay Lal# Makefile for KVM support for MIPS
203a0331cSSanjay Lal#
303a0331cSSanjay Lal
4539cb89fSJames Hogancommon-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
503a0331cSSanjay Lal
603a0331cSSanjay LalEXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
703a0331cSSanjay Lal
8539cb89fSJames Hogancommon-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
9539cb89fSJames Hogan
1090e9311aSJames Hogankvm-objs := $(common-objs-y) mips.o emulate.o entry.o \
11d7d5b05fSDeng-Cheng Zhu	    interrupt.o stats.o commpage.o \
12*56f7a440SJames Hogan	    fpu.o
13955d8dc3SJames Hogankvm-objs += hypcall.o
14403015b3SJames Hogankvm-objs += mmu.o
1503a0331cSSanjay Lal
16*56f7a440SJames Hoganifdef CONFIG_KVM_MIPS_VZ
17*56f7a440SJames Hogankvm-objs		+= vz.o
18*56f7a440SJames Hoganelse
19*56f7a440SJames Hogankvm-objs		+= dyntrans.o
20*56f7a440SJames Hogankvm-objs		+= trap_emul.o
21*56f7a440SJames Hoganendif
2203a0331cSSanjay Lalobj-$(CONFIG_KVM)	+= kvm.o
23d7d5b05fSDeng-Cheng Zhuobj-y			+= callback.o tlb.o
24