summaryrefslogtreecommitdiff
path: root/arch/loongarch/Kbuild
diff options
context:
space:
mode:
authorTianrui Zhao <zhaotianrui@loongson.cn>2023-10-02 05:01:29 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-10-02 05:01:29 +0300
commitc1fc48aad14dbe7654f5986afb906332b528d54b (patch)
treed90486f1d59b14232a370b15d854a8a64e4dbfdd /arch/loongarch/Kbuild
parent39fdf4be72f2b81238acbd4da48c75c135a6f1e0 (diff)
downloadlinux-c1fc48aad14dbe7654f5986afb906332b528d54b.tar.xz
LoongArch: KVM: Enable kvm config and add the makefile
Enable LoongArch kvm config and add the makefile to support build kvm module. Reviewed-by: Bibo Mao <maobibo@loongson.cn> Tested-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Kbuild')
-rw-r--r--arch/loongarch/Kbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/loongarch/Kbuild b/arch/loongarch/Kbuild
index b01f5cdb27e0..beb8499dd8ed 100644
--- a/arch/loongarch/Kbuild
+++ b/arch/loongarch/Kbuild
@@ -3,5 +3,7 @@ obj-y += mm/
obj-y += net/
obj-y += vdso/
+obj-$(CONFIG_KVM) += kvm/
+
# for cleaning
subdir- += boot