1# SPDX-License-Identifier: GPL-2.0
2# Makefile for KVM support for MIPS
3#
4
5ccflags-y += -Ivirt/kvm -Iarch/mips/kvm
6
7kvm-y := $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o binary_stats.o)
8kvm-$(CONFIG_CPU_HAS_MSA) += msa.o
9
10kvm-y +=    mips.o emulate.o entry.o \
11	    interrupt.o stats.o \
12	    fpu.o
13kvm-y += hypcall.o
14kvm-y += mmu.o
15kvm-$(CONFIG_CPU_LOONGSON64) += loongson_ipi.o
16
17kvm-y		+= vz.o
18obj-$(CONFIG_KVM)	+= kvm.o
19obj-y			+= callback.o tlb.o
20