summaryrefslogtreecommitdiff
path: root/arch/riscv/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-12 10:57:25 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-26 17:10:37 +0300
commitd92cc4d5164398cc6d191084b46e622976c0ba89 (patch)
treee87efead15202005ba0ec53f5f03a70149f80ea4 /arch/riscv/Makefile
parent0d989ac2c90b5f51fe12102d3cddf54b959f2014 (diff)
downloadlinux-d92cc4d5164398cc6d191084b46e622976c0ba89.tar.xz
kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild
arch/$(SRCARCH)/Kbuild is useful for Makefile cleanups because you can use the obj-y syntax. Add an empty file if it is missing in arch/$(SRCARCH)/. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/riscv/Makefile')
-rw-r--r--arch/riscv/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index 3eb9590a0775..c5f359540862 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -90,7 +90,6 @@ endif
head-y := arch/riscv/kernel/head.o
-core-y += arch/riscv/
core-$(CONFIG_RISCV_ERRATA_ALTERNATIVE) += arch/riscv/errata/
libs-y += arch/riscv/lib/