linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: Guo Ren <guoren@kernel.org>, linux-csky@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Masahiro Yamada <masahiroy@kernel.org>
Subject: [PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild
Date: Thu, 12 May 2022 12:59:03 +0900	[thread overview]
Message-ID: <20220512035903.2779287-4-masahiroy@kernel.org> (raw)
In-Reply-To: <20220512035903.2779287-1-masahiroy@kernel.org>

Use the standard obj-y form to specify the sub-directories under
arch/csky/. No functional change intended.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/csky/Kbuild   | 4 ++++
 arch/csky/Makefile | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/csky/Kbuild b/arch/csky/Kbuild
index 4e39f7abdeb6..3015be1afd59 100644
--- a/arch/csky/Kbuild
+++ b/arch/csky/Kbuild
@@ -1,4 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
+obj-y += kernel/ mm/
+obj-$(CONFIG_CPU_ABI_V1) += abiv1/
+obj-$(CONFIG_CPU_ABI_V2) += abiv2/
+
 # for cleaning
 subdir- += boot
diff --git a/arch/csky/Makefile b/arch/csky/Makefile
index 2b30525f39e1..51150abd2831 100644
--- a/arch/csky/Makefile
+++ b/arch/csky/Makefile
@@ -63,10 +63,6 @@ KBUILD_AFLAGS += $(KBUILD_CFLAGS)
 
 head-y := arch/csky/kernel/head.o
 
-core-y += arch/csky/kernel/
-core-y += arch/csky/mm/
-core-y += arch/csky/$(CSKYABI)/
-
 libs-y += arch/csky/lib/ \
 	$(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
 
-- 
2.32.0


  parent reply	other threads:[~2022-05-12  4:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12  3:59 [PATCH 1/4] csky: remove unused $(dtb-y) from arch/csky/boot/Makefile Masahiro Yamada
2022-05-12  3:59 ` [PATCH 2/4] csky: do not add dts/ to core-y Masahiro Yamada
2022-05-13  6:43   ` Guo Ren
2022-05-12  3:59 ` [PATCH 3/4] csky: introduce CONFIG_CSKY_ABI_V1/2 Masahiro Yamada
2022-05-13  6:57   ` Guo Ren
2022-05-13  8:28     ` Masahiro Yamada
2022-05-13  8:51       ` Guo Ren
2022-05-12  3:59 ` Masahiro Yamada [this message]
2022-05-13  3:27   ` [PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild Masahiro Yamada
2022-05-13  6:44     ` Guo Ren
2022-05-13  6:43 ` [PATCH 1/4] csky: remove unused $(dtb-y) from arch/csky/boot/Makefile Guo Ren

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=20220512035903.2779287-4-masahiroy@kernel.org \
    --to=masahiroy@kernel.org \
    --cc=guoren@kernel.org \
    --cc=linux-csky@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).