parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild
PATCH 1/1 parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild
Use obj-y to clean up Makefile.
Signed-off-by Masahiro Yamada <[email protected]>
---
arch/parisc/Kbuild | 1 + arch/parisc/Makefile | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-)
arch/parisc/Kbuild +1 -0
@@ -1 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += mm/ kernel/ math-emu/
arch/parisc/Makefile +0 -3
@@ -111,9 +111,6 @@ KBUILD_CFLAGS += $(cflags-y) LIBGCC := $(shell $(CC) -print-libgcc-file-name) export LIBGCC -kernel-y := mm/ kernel/ math-emu/ - -core-y += $(addprefix arch/parisc/, $(kernel-y)) libs-y += arch/parisc/lib/ $(LIBGCC) boot := arch/parisc/boot
Signature · 1 line
2.30.2