public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile
@ 2021-10-13  2:10 Masahiro Yamada
  2021-10-13 17:05 ` Greentime Hu
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2021-10-13  2:10 UTC (permalink / raw)
  To: linux-kernel, Nick Hu, Greentime Hu, Vincent Chen; +Cc: Masahiro Yamada

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@kernel.org>
---

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile
  2021-10-13  2:10 [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile Masahiro Yamada
@ 2021-10-13 17:05 ` Greentime Hu
  2021-12-11 13:12   ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Greentime Hu @ 2021-10-13 17:05 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Linux Kernel Mailing List, Nick Hu, Vincent Chen, Alan Kao, kclin

Masahiro Yamada <masahiroy@kernel.org> 於 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@kernel.org>
> ---
>
>  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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile
  2021-10-13 17:05 ` Greentime Hu
@ 2021-12-11 13:12   ` Masahiro Yamada
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2021-12-11 13:12 UTC (permalink / raw)
  To: Greentime Hu
  Cc: Linux Kernel Mailing List, Nick Hu, Vincent Chen, Alan Kao, kclin

On Thu, Oct 14, 2021 at 2:05 AM Greentime Hu <green.hu@gmail.com> wrote:
>
> Masahiro Yamada <masahiroy@kernel.org> 於 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@kernel.org>
> > ---
> >
> >  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-11 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13  2:10 [PATCH] nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile Masahiro Yamada
2021-10-13 17:05 ` Greentime Hu
2021-12-11 13:12   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox