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

Use obj-y to clean up Makefile.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Masahiro Yamada 2021-08-12 01:41:16 +09:00 committed by Helge Deller
parent 0c38502cee
commit 6ef4661cad
2 changed files with 1 additions and 3 deletions

View File

@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
obj-y += mm/ kernel/ math-emu/

View File

@ -111,9 +111,6 @@ KBUILD_CFLAGS += $(cflags-y)
LIBGCC := $(shell $(CC) -print-libgcc-file-name) LIBGCC := $(shell $(CC) -print-libgcc-file-name)
export LIBGCC export LIBGCC
kernel-y := mm/ kernel/ math-emu/
core-y += $(addprefix arch/parisc/, $(kernel-y))
libs-y += arch/parisc/lib/ $(LIBGCC) libs-y += arch/parisc/lib/ $(LIBGCC)
boot := arch/parisc/boot boot := arch/parisc/boot