Re: [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile

From: Masahiro Yamada
Date: Sat Dec 11 2021 - 08:13:27 EST


On Thu, Oct 14, 2021 at 2:05 AM Greentime Hu <green.hu@xxxxxxxxx> wrote:
>
> Masahiro Yamada <masahiroy@xxxxxxxxxx> 於 2021年10月13日 週三 10:10 寫道:
> >
> > This is not used or exported.
> >
> > BUILTIN_DTB is locally defined and used in arch/nds32/boot/dts/Makefile.
> >
> > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> > ---
> >
> > arch/nds32/Makefile | 6 ------
> > 1 file changed, 6 deletions(-)
> >
> > diff --git a/arch/nds32/Makefile b/arch/nds32/Makefile
> > index c17fc3a755c3..ee26e4df2fd0 100644
> > --- a/arch/nds32/Makefile
> > +++ b/arch/nds32/Makefile
> > @@ -31,12 +31,6 @@ core-y += arch/nds32/kernel/ arch/nds32/mm/
> > core-$(CONFIG_FPU) += arch/nds32/math-emu/
> > libs-y += arch/nds32/lib/
> >
> > -ifneq '$(CONFIG_NDS32_BUILTIN_DTB)' '""'
> > -BUILTIN_DTB := y
> > -else
> > -BUILTIN_DTB := n
> > -endif
> > -
> > ifdef CONFIG_CPU_LITTLE_ENDIAN
> > KBUILD_CFLAGS += $(call cc-option, -EL)
> > KBUILD_AFLAGS += $(call cc-option, -EL)
>
> loop in KC and Alan.

Applied to linux-kbuild because this is needed for my next work.

(nds32 seems to be unmaintained)


--
Best Regards
Masahiro Yamada