summaryrefslogtreecommitdiff
path: root/arch/sh/Kbuild
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-12 16:57:29 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-26 23:11:47 +0900
commit92f378f19e947eeffc52c427cd734f7b19eb54c4 (patch)
treea5b5f5d5126a113682aee355d068f68ec153332b /arch/sh/Kbuild
parent3681c854c22eed45e63c164252e5f7e1abeadfb2 (diff)
sh: move core-y in arch/sh/Makefile to arch/sh/Kbuild
Use obj-y to clean up Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/sh/Kbuild')
-rw-r--r--arch/sh/Kbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/Kbuild b/arch/sh/Kbuild
index a4e40e534e6a..48c2a091a072 100644
--- a/arch/sh/Kbuild
+++ b/arch/sh/Kbuild
@@ -1 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += kernel/ mm/ boards/
+obj-$(CONFIG_SH_FPU_EMU) += math-emu/
+obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/