Skip to contentSkip to conversation

MIPS: DTS: add a .gitignore file to ignore .dtb

PATCH In review Florian Fainelli 2 participants 3 messages Oct 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: DTS: add a .gitignore file to ignore .dtb

Build for Broadcom XLP revealed that we are not ignoring DTB files and that would clobber the git status output. Fix that by adding a .gitignore file in arch/mips/boot/dts/.

---
 arch/mips/boot/dts/.gitignore | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/mips/boot/dts/.gitignore
arch/mips/boot/dts/.gitignore new file +1 -0
new file mode 100644
index 000000000000..b60ed208c779
@@ -0,0 +1 @@
+*.dtb
Signature · 1 line
1.9.1
#1 lore raw
Quoted 16 lines · Florian Fainelli

Build for Broadcom XLP revealed that we are not ignoring DTB files and that would clobber the git status output. Fix that by adding a .gitignore file in arch/mips/boot/dts/.

---
  arch/mips/boot/dts/.gitignore | 1 +
  1 file changed, 1 insertion(+)

create mode 100644 arch/mips/boot/dts/.gitignore

arch/mips/boot/dts/.gitignore new file +0 -0
new file mode 100644
index 000000000000..b60ed208c779

arch/mips/boot/dts/.gitignore line 1

Quoted 1 line
arch/mips/boot/dts/.gitignore new file +1 -0
@@ -0,0 +1 @@
+*.dtb

Do we check in .dtb files anywhere in the kernel tree?

If not, this could be moved to a higher level (perhaps top level) .gitignore

David Daney

Quoted 1 line
#2 lore raw
Quoted 11 lines · David Daney
Quoted 10 lines · Florian Fainelli

Build for Broadcom XLP revealed that we are not ignoring DTB files and that would clobber the git status output. Fix that by adding a .gitignore file in arch/mips/boot/dts/.

---
  arch/mips/boot/dts/.gitignore | 1 +
  1 file changed, 1 insertion(+)

create mode 100644 arch/mips/boot/dts/.gitignore

Quoted 10 lines

arch/mips/boot/dts/.gitignore line 1

Quoted 8 lines
arch/mips/boot/dts/.gitignore new file +1 -0
new file mode 100644
index 000000000000..b60ed208c779
@@ -0,0 +1 @@
+*.dtb

Do we check in .dtb files anywhere in the kernel tree?

Every architecture supporting DT basically added its own .gitignore file to all relevant directories, but I see no reason why this could not be generalized.

Quoted 3 lines

If not, this could be moved to a higher level (perhaps top level) .gitignore

Good point, thanks!

Quoted 6 lines

David Daney

Quoted 1 line