diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-12 03:44:08 +0900 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-06-01 22:26:32 -0700 |
commit | 9eb2e45d097c0b951d76d9c6625f248f54e8c7ff (patch) | |
tree | 03a829be743e57251a1b6ac431871a199546a503 /arch/riscv | |
parent | e61bf5c071148c80d091f8e7220b3b9130780ae3 (diff) | |
download | linux-9eb2e45d097c0b951d76d9c6625f248f54e8c7ff.tar.bz2 |
riscv: move errata/ and kvm/ builds to arch/riscv/Kbuild
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kbuild | 2 | ||||
-rw-r--r-- | arch/riscv/Makefile | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild index f562c7343fda..afa83e307a2e 100644 --- a/arch/riscv/Kbuild +++ b/arch/riscv/Kbuild @@ -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/ diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index e3b1d06e4db1..34cf8a598617 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -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 |