From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
linux-kernel@vger.kernel.org,
uclinux-h8-devel@lists.sourceforge.jp
Subject: [PATCH 3/5] h8300: move core-y in arch/h8300/Makefile to arch/h8300/Kbuild
Date: Wed, 12 May 2021 16:57:27 +0900 [thread overview]
Message-ID: <20210512075729.60291-3-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/h8300/Kbuild | 1 +
arch/h8300/Makefile | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/h8300/Kbuild b/arch/h8300/Kbuild
index a4e40e534e6a..b2583e7efbd1 100644
--- a/arch/h8300/Kbuild
+++ b/arch/h8300/Kbuild
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += kernel/ mm/ boot/dts/
diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile
index ba0f26cfad61..eb4cb8f6830c 100644
--- a/arch/h8300/Makefile
+++ b/arch/h8300/Makefile
@@ -30,9 +30,6 @@ ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE := $(call cc-cross-prefix, h8300-unknown-linux- h8300-linux-)
endif
-core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/
-core-y += arch/$(ARCH)/boot/dts/
-
libs-y += arch/$(ARCH)/lib/
boot := arch/h8300/boot
--
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 ` Masahiro Yamada [this message]
2021-05-12 7:57 ` [PATCH 4/5] hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild Masahiro Yamada
2021-05-21 10:29 ` 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-3-masahiroy@kernel.org \
--to=masahiroy@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=uclinux-h8-devel@lists.sourceforge.jp \
--cc=ysato@users.sourceforge.jp \
/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).