From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Masahiro Yamada <masahiroy@kernel.org>,
Brian Cain <bcain@codeaurora.org>,
linux-hexagon@vger.kernel.org
Subject: [PATCH] hexagon: add arch/hexagon/Kbuild
Date: Sat, 27 Feb 2021 14:55:34 +0900 [thread overview]
Message-ID: <20210227055534.4075178-1-masahiroy@kernel.org> (raw)
Use the standard obj-y form to specify the sub-directories under
arch/hexagon/. No functional change intended.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/hexagon/Kbuild | 2 ++
arch/hexagon/Makefile | 5 +----
2 files changed, 3 insertions(+), 4 deletions(-)
create mode 100644 arch/hexagon/Kbuild
diff --git a/arch/hexagon/Kbuild b/arch/hexagon/Kbuild
new file mode 100644
index 000000000000..8421baba1351
--- /dev/null
+++ b/arch/hexagon/Kbuild
@@ -0,0 +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 c168c6980d05..80583548b81e 100644
--- a/arch/hexagon/Makefile
+++ b/arch/hexagon/Makefile
@@ -34,7 +34,4 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name 2>/dev/null)
libs-y += $(LIBGCC)
head-y := arch/hexagon/kernel/head.o
-
-core-y += arch/hexagon/kernel/ \
- arch/hexagon/mm/ \
- arch/hexagon/lib/
+core-y += arch/hexagon/
--
2.27.0
reply other threads:[~2021-02-27 5:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210227055534.4075178-1-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).