]> git.baikalelectronics.ru Git - kernel.git/commitdiff
riscv: move errata/ and kvm/ builds to arch/riscv/Kbuild
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 11 May 2022 18:44:08 +0000 (03:44 +0900)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 2 Jun 2022 05:26:32 +0000 (22:26 -0700)
Commit 909548d6c578 ("riscv: add arch/riscv/Kbuild") intended that
subdirectories in arch/riscv/ would be added in arch/riscv/Kbuild.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kbuild
arch/riscv/Makefile

index f562c7343fda7fe1f3cc8b0be2a7e9a47dfab77d..afa83e307a2e4b64e81411b5d2a4e8343f6bc47a 100644 (file)
@@ -2,6 +2,8 @@
 
 obj-y += kernel/ mm/ net/
 obj-$(CONFIG_BUILTIN_DTB) += boot/dts/
+obj-y += errata/
+obj-$(CONFIG_KVM) += kvm/
 
 obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += purgatory/
 
index e3b1d06e4db1d93b6f4d30702bc7fc8104fdae14..34cf8a598617b8cd0585d31a2068c1a97b8b8069 100644 (file)
@@ -103,9 +103,6 @@ endif
 
 head-y := arch/riscv/kernel/head.o
 
-core-y += arch/riscv/errata/
-core-$(CONFIG_KVM) += arch/riscv/kvm/
-
 libs-y += arch/riscv/lib/
 libs-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a