summaryrefslogtreecommitdiffstats
path: root/arch/hexagon
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-12 16:57:28 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-26 23:11:47 +0900
commit3681c854c22eed45e63c164252e5f7e1abeadfb2 (patch)
treee89943af1ecd31ef2e69e3db07d0057989216f76 /arch/hexagon
parent0957878f710e87d6ef2aba01a49d8be659c3ce3d (diff)
downloadlinux-3681c854c22eed45e63c164252e5f7e1abeadfb2.tar.gz
linux-3681c854c22eed45e63c164252e5f7e1abeadfb2.tar.bz2
linux-3681c854c22eed45e63c164252e5f7e1abeadfb2.zip
hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild
Use obj-y to clean up Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r--arch/hexagon/Kbuild1
-rw-r--r--arch/hexagon/Makefile4
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/hexagon/Kbuild b/arch/hexagon/Kbuild
index a4e40e534e6a..8421baba1351 100644
--- a/arch/hexagon/Kbuild
+++ b/arch/hexagon/Kbuild
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += kernel/ mm/ lib/
diff --git a/arch/hexagon/Makefile b/arch/hexagon/Makefile
index 74b644ea8a00..44312bc147d8 100644
--- a/arch/hexagon/Makefile
+++ b/arch/hexagon/Makefile
@@ -34,7 +34,3 @@ KBUILD_CFLAGS += -ffixed-$(TIR_NAME) -DTHREADINFO_REG=$(TIR_NAME) -D__linux__
KBUILD_AFLAGS += -DTHREADINFO_REG=$(TIR_NAME)
head-y := arch/hexagon/kernel/head.o
-
-core-y += arch/hexagon/kernel/ \
- arch/hexagon/mm/ \
- arch/hexagon/lib/