summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2021-11-21 13:54:43 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-09 18:58:37 +0100
commitae1b606e6207476d97d642010b2775a9465a46d6 (patch)
treedca9e23bc19c6f62fe0fd9b4e0f560139e655ef9 /arch/mips
parentKVM: s390: Use Makefile.kvm for common files (diff)
downloadlinux-ae1b606e6207476d97d642010b2775a9465a46d6.tar.xz
linux-ae1b606e6207476d97d642010b2775a9465a46d6.zip
KVM: mips: Use Makefile.kvm for common files
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Message-Id: <20211121125451.9489-5-dwmw2@infradead.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kvm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kvm/Makefile b/arch/mips/kvm/Makefile
index d3710959da55..21ff75bcdbc4 100644
--- a/arch/mips/kvm/Makefile
+++ b/arch/mips/kvm/Makefile
@@ -2,9 +2,10 @@
# Makefile for KVM support for MIPS
#
+include $(srctree)/virt/kvm/Makefile.kvm
+
ccflags-y += -Ivirt/kvm -Iarch/mips/kvm
-kvm-y := $(addprefix ../../../virt/kvm/, kvm_main.o coalesced_mmio.o eventfd.o binary_stats.o)
kvm-$(CONFIG_CPU_HAS_MSA) += msa.o
kvm-y += mips.o emulate.o entry.o \