On Fri, May 13, 2022 at 11:28 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote: > > On Thu, May 12, 2022 at 1:01 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> 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@xxxxxxxxxx> > > --- > > I am not sending v2 just for typo "cskly:" > > I hope the maintainer can fix it. Okay. > > > > > > 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 -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/