2012-11-22 09:34:06 +07:00
|
|
|
# Makefile for KVM support for MIPS
|
|
|
|
#
|
|
|
|
|
2015-03-05 18:43:36 +07:00
|
|
|
common-objs-y = $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o)
|
2012-11-22 09:34:06 +07:00
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Ivirt/kvm -Iarch/mips/kvm
|
|
|
|
|
2015-03-05 18:43:36 +07:00
|
|
|
common-objs-$(CONFIG_CPU_HAS_MSA) += msa.o
|
|
|
|
|
2016-06-23 23:34:39 +07:00
|
|
|
kvm-objs := $(common-objs-y) mips.o emulate.o entry.o \
|
2014-06-27 02:11:38 +07:00
|
|
|
interrupt.o stats.o commpage.o \
|
2017-03-14 17:15:32 +07:00
|
|
|
fpu.o
|
2017-03-14 17:15:14 +07:00
|
|
|
kvm-objs += hypcall.o
|
2016-06-09 20:19:10 +07:00
|
|
|
kvm-objs += mmu.o
|
2012-11-22 09:34:06 +07:00
|
|
|
|
2017-03-14 17:15:32 +07:00
|
|
|
ifdef CONFIG_KVM_MIPS_VZ
|
|
|
|
kvm-objs += vz.o
|
|
|
|
else
|
|
|
|
kvm-objs += dyntrans.o
|
|
|
|
kvm-objs += trap_emul.o
|
|
|
|
endif
|
2012-11-22 09:34:06 +07:00
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|
2014-06-27 02:11:38 +07:00
|
|
|
obj-y += callback.o tlb.o
|