From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Brian Cain <bcain@codeaurora.org>,
linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 4/5] hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild
Date: Wed, 12 May 2021 16:57:28 +0900 [thread overview]
Message-ID: <20210512075729.60291-4-masahiroy@kernel.org> (raw)
In-Reply-To: <20210512075729.60291-1-masahiroy@kernel.org>
Use obj-y to clean up Makefile.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/hexagon/Kbuild | 1 +
arch/hexagon/Makefile | 4 ----
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/hexagon/Kbuild b/arch/hexagon/Kbuild
index a4e40e534e6a..d930c2f954d5 100644
--- a/arch/hexagon/Kbuild
+++ b/arch/hexagon/Kbuild
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj += 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/
--
2.27.0
next prev parent reply other threads:[~2021-05-12 7:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 7:57 [PATCH 1/5] kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild Masahiro Yamada
2021-05-12 7:57 ` [PATCH 2/5] alpha: move core-y in arch/alpha/Makefile to arch/alpha/Kbuild Masahiro Yamada
2021-05-12 7:57 ` [PATCH 3/5] h8300: move core-y in arch/h8300/Makefile to arch/h8300/Kbuild Masahiro Yamada
2021-05-12 7:57 ` Masahiro Yamada [this message]
2021-05-21 10:29 ` [PATCH 4/5] hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild Nicolas Schier
2021-05-22 1:16 ` Masahiro Yamada
2021-05-12 7:57 ` [PATCH 5/5] sh: move core-y in arch/sh/Makefile to arch/sh/Kbuild Masahiro Yamada
2021-05-26 14:32 ` [PATCH 1/5] kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210512075729.60291-4-masahiroy@kernel.org \
--to=masahiroy@kernel.org \
--cc=bcain@codeaurora.org \
--cc=linux-hexagon@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).