summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-12 01:41:16 +0900
committerHelge Deller <deller@gmx.de>2021-08-30 10:18:25 +0200
commit6ef4661cad32b5098ffb31be3282c866befde85f (patch)
tree86532fcb61fa8aec8b859811d9752ce692f3bdce /arch/parisc
parent0c38502cee6f63a27c7af476948eac18e067d5ff (diff)
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>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/Kbuild1
-rw-r--r--arch/parisc/Makefile3
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/parisc/Kbuild b/arch/parisc/Kbuild
index a4e40e534e6a..3c068b700a81 100644
--- a/arch/parisc/Kbuild
+++ b/arch/parisc/Kbuild
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += mm/ kernel/ math-emu/
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index aed8ea29268b..6c27940eff03 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -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