Skip to content

Commit

Permalink
.gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
Browse files Browse the repository at this point in the history
Most of DT files are compiled under arch/*/boot/dts/, but we have some
other directories, like drivers/of/unittest-data/.  We often miss to
add gitignore patterns per directory.  Since there are no source files
that end with .dtb or .dtb.S, we can ignore the patterns globally.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
masahir0y authored and robherring committed Nov 8, 2017
1 parent 1377dd3 commit 10b62a2
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*.bin
*.bz2
*.c.[012]*.*
*.dtb
*.dtb.S
*.dwo
*.elf
*.gcno
Expand Down
1 change: 0 additions & 1 deletion arch/arc/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.dtb*
uImage
1 change: 0 additions & 1 deletion arch/arm/boot/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ zImage
xipImage
bootpImage
uImage
*.dtb
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion arch/metag/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
vmlinux*
uImage*
ramdisk.*
*.dtb*
1 change: 0 additions & 1 deletion arch/microblaze/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
*.dtb
linux.bin*
simpleImage.*
1 change: 0 additions & 1 deletion arch/mips/boot/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ zImage
zImage.tmp
calc_vmlinuz_load_addr
uImage
*.dtb
1 change: 0 additions & 1 deletion arch/nios2/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
*.dtb
vmImage
1 change: 0 additions & 1 deletion arch/powerpc/boot/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ otheros.bld
uImage
cuImage.*
dtbImage.*
*.dtb
treeImage.*
vmlinux.strip
zImage
Expand Down
1 change: 0 additions & 1 deletion arch/xtensa/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
uImage
zImage.redboot
*.dtb
2 changes: 0 additions & 2 deletions drivers/of/unittest-data/.gitignore

This file was deleted.

0 comments on commit 10b62a2

Please sign in to comment.