Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -5
+3
arch/sh/Kbuild
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 + obj-y += kernel/ mm/ boards/ 3 + obj-$(CONFIG_SH_FPU_EMU) += math-emu/ 4 + obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/
-5
arch/sh/Makefile
··· 116 116 117 117 head-y := arch/sh/kernel/head_32.o 118 118 119 - core-y += arch/sh/kernel/ arch/sh/mm/ arch/sh/boards/ 120 - core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/ 121 - 122 - core-$(CONFIG_USE_BUILTIN_DTB) += arch/sh/boot/dts/ 123 - 124 119 # Mach groups 125 120 machdir-$(CONFIG_SOLUTION_ENGINE) += mach-se 126 121 machdir-$(CONFIG_SH_HP6XX) += mach-hp6xx