blob: 847429de780d3b948fe9cb296e40223188af715e [file] [log] [blame]
Sanjay Lal03a03312012-11-21 18:34:06 -08001# Makefile for KVM support for MIPS
2#
3
James Hogan539cb89fb2015-03-05 11:43:36 +00004common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
Sanjay Lal03a03312012-11-21 18:34:06 -08005
6EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
7
James Hogan539cb89fb2015-03-05 11:43:36 +00008common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
9
James Hogan90e93112016-06-23 17:34:39 +010010kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \
Deng-Cheng Zhud7d5b052014-06-26 12:11:38 -070011 interrupt.o stats.o commpage.o \
James Hogan98e91b82014-11-18 14:09:12 +000012 dyntrans.o trap_emul.o fpu.o
James Hogan403015b2016-06-09 14:19:10 +010013kvm-objs += mmu.o
Sanjay Lal03a03312012-11-21 18:34:06 -080014
15obj-$(CONFIG_KVM) += kvm.o
Deng-Cheng Zhud7d5b052014-06-26 12:11:38 -070016obj-y += callback.o tlb.o