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