KVM: mips: Use Makefile.kvm for common files
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 21 Nov 2021 12:54:43 +0000 (12:54 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Dec 2021 17:58:37 +0000 (12:58 -0500)
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>
arch/mips/kvm/Makefile

index d3710959da55ab8f79f17d1bd4356ebcc6cc36de..21ff75bcdbc44661be505bf0f41cdd63ea72e9fd 100644 (file)
@@ -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 \