[PATCH 1/2] gitignore: add device tree blobs to top-level .gitignore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have device trees outside of the usual directories, e.g. for
overlays, so move the .gitignore rule to top-level.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 .gitignore                           | 2 ++
 arch/arm/boards/qemu-virt/.gitignore | 3 ---
 arch/arm/dts/.gitignore              | 1 -
 arch/mips/dts/.gitignore             | 1 -
 arch/openrisc/dts/.gitignore         | 1 -
 arch/riscv/dts/.gitignore            | 1 -
 arch/sandbox/dts/.gitignore          | 1 -
 7 files changed, 2 insertions(+), 8 deletions(-)
 delete mode 100644 arch/arm/boards/qemu-virt/.gitignore
 delete mode 100644 arch/arm/dts/.gitignore
 delete mode 100644 arch/mips/dts/.gitignore
 delete mode 100644 arch/riscv/dts/.gitignore
 delete mode 100644 arch/sandbox/dts/.gitignore

diff --git a/.gitignore b/.gitignore
index cb87e9314f40..dd36d5083b17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,8 @@
 *.symtypes
 *.tab.[ch]
 Module.symvers
+*.dtb
+*.dtb.*
 
 #
 # Top-level generic files
diff --git a/arch/arm/boards/qemu-virt/.gitignore b/arch/arm/boards/qemu-virt/.gitignore
deleted file mode 100644
index 3e3932a3bfba..000000000000
--- a/arch/arm/boards/qemu-virt/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-
-*.dtb*
diff --git a/arch/arm/dts/.gitignore b/arch/arm/dts/.gitignore
deleted file mode 100644
index 077903c50a26..000000000000
--- a/arch/arm/dts/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*dtb*
diff --git a/arch/mips/dts/.gitignore b/arch/mips/dts/.gitignore
deleted file mode 100644
index 077903c50a26..000000000000
--- a/arch/mips/dts/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*dtb*
diff --git a/arch/openrisc/dts/.gitignore b/arch/openrisc/dts/.gitignore
index 077903c50a26..e69de29bb2d1 100644
--- a/arch/openrisc/dts/.gitignore
+++ b/arch/openrisc/dts/.gitignore
@@ -1 +0,0 @@
-*dtb*
diff --git a/arch/riscv/dts/.gitignore b/arch/riscv/dts/.gitignore
deleted file mode 100644
index 077903c50a26..000000000000
--- a/arch/riscv/dts/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*dtb*
diff --git a/arch/sandbox/dts/.gitignore b/arch/sandbox/dts/.gitignore
deleted file mode 100644
index 077903c50a26..000000000000
--- a/arch/sandbox/dts/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*dtb*
-- 
2.30.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux