lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild
Date
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
\
 
 \ /
  Last update: 2022-05-12 06:04    [W:0.122 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site