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

From: Greentime Hu
Date: Wed Oct 13 2021 - 13:05:51 EST


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.