projects/linux·commit c3476d2f

scripts/dtc: Add missing fdtoverlay to gitignore

c3476d2f · Rob Herring <[email protected]> · 2021-02-23 15:12:52 -06:00

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 <[email protected]>
Cc: Viresh Kumar <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Commit
c3476d2f2b1dcda2f089412e5844bf4f93c19229
Parents
f6e1e1d1

Changes

2 files changed · +2 −0

FileStatusAddDelContent
scripts/dtc/.gitignoremodified+1−0View file
scripts/dtc/Makefilemodified+1−0View file

scripts/dtc/.gitignore

View file
diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
index b814e60..8a8b62b 100644
--- a/scripts/dtc/.gitignore
+++ b/scripts/dtc/.gitignore
@@ -1,2 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
dtc
+fdtoverlay

scripts/dtc/Makefile

View file
diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
index c8c21e0..95aaf74 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