diff mbox series

scripts/dtc: Add missing fdtoverlay to gitignore

Message ID 20210223211252.66286-1-robh@kernel.org
State Accepted
Commit c3476d2f2b1dcda2f089412e5844bf4f93c19229
Headers show
Series scripts/dtc: Add missing fdtoverlay to gitignore | expand

Commit Message

Rob Herring Feb. 23, 2021, 9:12 p.m. UTC
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")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>

---
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(+)

-- 
2.27.0

Comments

Viresh Kumar Feb. 24, 2021, 3:55 a.m. UTC | #1
On 23-02-21, 15:12, Rob Herring wrote:
> 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")

> Reported-by: Linus Torvalds <torvalds@linux-foundation.org>

> Cc: Viresh Kumar <viresh.kumar@linaro.org>

> Signed-off-by: Rob Herring <robh@kernel.org>

> ---

> 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(+)

> 

> diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore

> index b814e6076bdb..8a8b62bf3d3c 100644

> --- a/scripts/dtc/.gitignore

> +++ b/scripts/dtc/.gitignore

> @@ -1,2 +1,3 @@

>  # SPDX-License-Identifier: GPL-2.0-only

>  dtc

> +fdtoverlay

> diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile

> index c8c21e0f2531..95aaf7431bff 100644

> --- a/scripts/dtc/Makefile

> +++ b/scripts/dtc/Makefile

> @@ -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


Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>


-- 
viresh
diff mbox series

Patch

diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
index b814e6076bdb..8a8b62bf3d3c 100644
--- a/scripts/dtc/.gitignore
+++ b/scripts/dtc/.gitignore
@@ -1,2 +1,3 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 dtc
+fdtoverlay
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
index c8c21e0f2531..95aaf7431bff 100644
--- a/scripts/dtc/Makefile
+++ b/scripts/dtc/Makefile
@@ -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