Thread (11 messages) 11 messages, 3 authors, 2021-11-17
STALE1660d

[PATCH 5/7] KVM: RISC-V: Use Makefile.kvm for common files

From: David Woodhouse <dwmw2@infradead.org>
Date: 2021-11-16 12:08:49
Also in: kvm, kvm-riscv, kvmarm, linux-mips, linux-s390, linuxppc-dev
Subsystem: kernel virtual machine for risc-v (kvm/riscv), risc-v architecture, the rest · Maintainers: Anup Patel, Paul Walmsley, Palmer Dabbelt, Albert Ou, Linus Torvalds

From: David Woodhouse <redacted>

Signed-off-by: David Woodhouse <redacted>
---
 arch/riscv/kvm/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/riscv/kvm/Makefile b/arch/riscv/kvm/Makefile
index 30cdd1df0098..300590225348 100644
--- a/arch/riscv/kvm/Makefile
+++ b/arch/riscv/kvm/Makefile
@@ -5,14 +5,10 @@
 
 ccflags-y += -I $(srctree)/$(src)
 
-KVM := ../../../virt/kvm
+include $(srctree)/virt/kvm/Makefile.kvm
 
 obj-$(CONFIG_KVM) += kvm.o
 
-kvm-y += $(KVM)/kvm_main.o
-kvm-y += $(KVM)/coalesced_mmio.o
-kvm-y += $(KVM)/binary_stats.o
-kvm-y += $(KVM)/eventfd.o
 kvm-y += main.o
 kvm-y += vm.o
 kvm-y += vmid.o
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help