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