Skip to contentSkip to conversation

scripts/dtc: Add missing fdtoverlay to gitignore

PATCH In review Rob Herring 2 participants 2 messages Feb 23, 2021 – Feb 24, 2021 Device tree

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 scripts/dtc: Add missing fdtoverlay to gitignore

Commit 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool") enabled building fdtoverlay, but failed to add it to .gitignore.

Also add a note to keep hostprogs in sync with .gitignore.

Fixes 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool")
Cc Viresh Kumar <[email protected]>

---
Linus, please pick this up directly if you want. I'm going to be offline most of the next couple of days, will have a few other DT fixes to send you later this week.

Rob

 scripts/dtc/.gitignore | 1 +
 scripts/dtc/Makefile   | 1 +
 2 files changed, 2 insertions(+)
scripts/dtc/.gitignore +1 -0
index b814e6076bdb..8a8b62bf3d3c 100644
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 dtc
+fdtoverlay
scripts/dtc/Makefile +1 -0
index c8c21e0f2531..95aaf7431bff 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # scripts/dtc makefile
 
+# *** Also keep .gitignore in sync when changing ***
 hostprogs-always-$(CONFIG_DTC)		+= dtc fdtoverlay
 hostprogs-always-$(CHECK_DT_BINDING)	+= dtc
 
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 33 lines · Rob Herring

Commit 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool") enabled building fdtoverlay, but failed to add it to .gitignore.

Also add a note to keep hostprogs in sync with .gitignore.

Fixes 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool")
Cc Viresh Kumar <[email protected]>

---
Linus, please pick this up directly if you want. I'm going to be offline most of the next couple of days, will have a few other DT fixes to send you later this week.

Rob

 scripts/dtc/.gitignore | 1 +
 scripts/dtc/Makefile   | 1 +
 2 files changed, 2 insertions(+)
scripts/dtc/.gitignore +1 -0
index b814e6076bdb..8a8b62bf3d3c 100644
@@ -1,2 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 dtc
+fdtoverlay
scripts/dtc/Makefile +0 -0
index c8c21e0f2531..95aaf7431bff 100644

scripts/dtc/Makefile line 6

Quoted 6 lines
scripts/dtc/Makefile +1 -0
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # scripts/dtc makefile
 
+# *** Also keep .gitignore in sync when changing ***
 hostprogs-always-$(CONFIG_DTC)		+= dtc fdtoverlay
 hostprogs-always-$(CHECK_DT_BINDING)	+= dtc
Signature · 1 line
viresh