csky: Move $(core-y) into arch/csky/Kbuild

Use the standard obj-y form to specify the sub-directories under
arch/csky/. Only leave core-y += arch/csky/$(CSKYABI)/ there.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
This commit is contained in:
Masahiro Yamada 2022-05-12 12:59:02 +09:00 committed by Guo Ren
parent 29b24a76bd
commit 64d83f0677
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-y += kernel/ mm/
# for cleaning
subdir- += boot

View File

@ -61,8 +61,6 @@ KBUILD_AFLAGS += $(KBUILD_CFLAGS)
head-y := arch/csky/kernel/head.o
core-y += arch/csky/kernel/
core-y += arch/csky/mm/
core-y += arch/csky/$(CSKYABI)/
libs-y += arch/csky/lib/ \