Skip to contentSkip to conversation

nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile

PATCH In review Masahiro Yamada 2 participants 3 messages Oct 13, 2021 – Dec 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nds32: remove unused BUILTIN_DTB from arch/nds32/Makefile

This is not used or exported.

BUILTIN_DTB is locally defined and used in arch/nds32/boot/dts/Makefile.

---

 arch/nds32/Makefile | 6 ------
 1 file changed, 6 deletions(-)
arch/nds32/Makefile +0 -6
index c17fc3a755c3..ee26e4df2fd0 100644
@@ -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)
Signature · 1 line
2.30.2
#1 lore raw

Masahiro Yamada <[email protected]> 於 2021年10月13日 週三 10:10 寫道:

Quoted 18 lines

This is not used or exported.

BUILTIN_DTB is locally defined and used in arch/nds32/boot/dts/Makefile.

---

 arch/nds32/Makefile | 6 ------
 1 file changed, 6 deletions(-)
arch/nds32/Makefile +0 -0
index c17fc3a755c3..ee26e4df2fd0 100644
@@ -31,12 +31,6 @@ core-y                               += arch/nds32/kernel/ arch/nds32/mm/
 core-$(CONFIG_FPU)              += arch/nds32/math-emu/
 libs-y                         += arch/nds32/lib/

arch/nds32/Makefile core-y += arch/nds32/kernel/ arch/nds32/mm/ · line 36

Quoted 10 lines
arch/nds32/Makefile +0 -6
 
-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.

#2 lore raw
Quoted 21 lines · Greentime Hu

Masahiro Yamada <[email protected]> 於 2021年10月13日 週三 10:10 寫道:

Quoted 19 lines

This is not used or exported.

BUILTIN_DTB is locally defined and used in arch/nds32/boot/dts/Makefile.

---

 arch/nds32/Makefile | 6 ------
 1 file changed, 6 deletions(-)
arch/nds32/Makefile +0 -0
index c17fc3a755c3..ee26e4df2fd0 100644
@@ -31,12 +31,6 @@ core-y                               += arch/nds32/kernel/ arch/nds32/mm/
 core-$(CONFIG_FPU)              += arch/nds32/math-emu/
 libs-y                         += arch/nds32/lib/
 
Quoted 11 lines

arch/nds32/Makefile core-y += arch/nds32/kernel/ arch/nds32/mm/ · line 36

Quoted 9 lines
arch/nds32/Makefile +0 -6
-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)

Signature · 2 lines
Best Regards
Masahiro Yamada