Skip to content

Commit abc5896

Browse files
masahir0ygregkh
authored andcommitted
.gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore
commit 10b62a2 upstream. 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 <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bafda5d commit abc5896

11 files changed

Lines changed: 2 additions & 11 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
*.bin
1515
*.bz2
1616
*.c.[012]*.*
17+
*.dtb
18+
*.dtb.S
1719
*.dwo
1820
*.elf
1921
*.gcno

arch/arc/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
*.dtb*
21
uImage

arch/arm/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ zImage
33
xipImage
44
bootpImage
55
uImage
6-
*.dtb

arch/arm64/boot/dts/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

arch/metag/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
vmlinux*
22
uImage*
33
ramdisk.*
4-
*.dtb*

arch/microblaze/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
*.dtb
21
linux.bin*
32
simpleImage.*

arch/mips/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ zImage
55
zImage.tmp
66
calc_vmlinuz_load_addr
77
uImage
8-
*.dtb

arch/nios2/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
*.dtb
21
vmImage

arch/powerpc/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ otheros.bld
1818
uImage
1919
cuImage.*
2020
dtbImage.*
21-
*.dtb
2221
treeImage.*
2322
vmlinux.strip
2423
zImage

arch/xtensa/boot/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
uImage
22
zImage.redboot
3-
*.dtb

0 commit comments

Comments
 (0)