parisc: move core-y in arch/parisc/Makefile to arch/parisc/Kbuild
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 11 Aug 2021 16:41:16 +0000 (01:41 +0900)
committerHelge Deller <deller@gmx.de>
Mon, 30 Aug 2021 08:18:25 +0000 (10:18 +0200)
Use obj-y to clean up Makefile.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kbuild
arch/parisc/Makefile

index a4e40e5..3c068b7 100644 (file)
@@ -1 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
+obj-y  += mm/ kernel/ math-emu/
index aed8ea2..6c27940 100644 (file)
@@ -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