lkml.org 
[lkml]   [2022]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild
On Thu, May 12, 2022 at 1:01 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> 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>
> ---

I am not sending v2 just for typo "cskly:"

I hope the maintainer can fix it.




> 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
>


--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2022-05-13 05:29    [W:0.197 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site