[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220512035903.2779287-4-masahiroy@kernel.org>
Date: Thu, 12 May 2022 12:59:03 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Guo Ren <guoren@...nel.org>, linux-csky@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>
Subject: [PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild
Use the standard obj-y form to specify the sub-directories under
arch/csky/. No functional change intended.
Signed-off-by: Masahiro Yamada <masahiroy@...nel.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
Powered by blists - more mailing lists