Commit 92f378f1 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

sh: move core-y in arch/sh/Makefile to arch/sh/Kbuild



Use obj-y to clean up Makefile.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 3681c854
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
# 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/
+0 −5
Original line number Diff line number Diff line
@@ -116,11 +116,6 @@ export ld-bfd

head-y	:= arch/sh/kernel/head_32.o

core-y				+= arch/sh/kernel/ arch/sh/mm/ arch/sh/boards/
core-$(CONFIG_SH_FPU_EMU)	+= arch/sh/math-emu/

core-$(CONFIG_USE_BUILTIN_DTB)	+= arch/sh/boot/dts/

# Mach groups
machdir-$(CONFIG_SOLUTION_ENGINE)		+= mach-se
machdir-$(CONFIG_SH_HP6XX)			+= mach-hp6xx