[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNASsrr_birFp=1MO6fVauogU1uiqSytQNgzFxBiOuLVw1w@mail.gmail.com>
Date: Fri, 13 May 2022 12:27:04 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Guo Ren <guoren@...nel.org>, linux-csky@...r.kernel.org
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] cskly: move $(core-y) into arch/csky/Kbuild
On Thu, May 12, 2022 at 1:01 PM Masahiro Yamada <masahiroy@...nel.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@...nel.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
Powered by blists - more mailing lists