diff --git a/scripts/dtc/.gitignore b/scripts/dtc/.gitignore
index b814e6076bdb94fc4c0b83962fd5c2495cfa44ca..8a8b62bf3d3c880a6073fd6ffd4850ed95af2382 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 c8c21e0f253178b30213084da1863d5449a5393f..95aaf7431bffab05da5ee186ef3b6461dba21fd1 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