Blame view

.gitignore 1.84 KB
d198b34f3   Masahiro Yamada   .gitignore: add S...
1
  # SPDX-License-Identifier: GPL-2.0-only
1e65174a3   Linus Torvalds   Add some basic .g...
2
3
4
5
6
  #
  # NOTE! Don't add files that are generated in specific
  # subdirectories here. Add them in the ".gitignore" file
  # in that subdirectory instead.
  #
ff2f5ff0c   Matt Kraai   trivial: Remove t...
7
  # NOTE! Please use 'git ls-files -i --exclude-standard'
f72e9df0e   Eduard - Gabriel Munteanu   Fix and clean top...
8
9
10
  # command after changing this file, to see if there are
  # any tracked files which get ignored after the change.
  #
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
11
  # Normal rules (sorted alphabetically)
1e65174a3   Linus Torvalds   Add some basic .g...
12
13
  #
  .*
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
14
  *.a
4fa8bc949   Masahiro Yamada   kbuild: rename *-...
15
  *.asn1.[ch]
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
16
17
18
  *.bin
  *.bz2
  *.c.[012]*.*
4f0e3a57d   Rob Herring   kbuild: Add suppo...
19
  *.dt.yaml
10b62a2f7   Masahiro Yamada   .gitignore: move ...
20
21
  *.dtb
  *.dtb.S
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
22
23
24
25
26
27
  *.dwo
  *.elf
  *.gcno
  *.gz
  *.i
  *.ko
598893002   Masahiro Yamada   .gitignore: move ...
28
  *.lex.c
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
29
30
31
32
33
  *.ll
  *.lst
  *.lz4
  *.lzma
  *.lzo
b7dca6dd1   Masahiro Yamada   kbuild: create *....
34
  *.mod
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
35
  *.mod.c
1e65174a3   Linus Torvalds   Add some basic .g...
36
  *.o
96918a35a   Alexey Dobriyan   .gitignore update
37
  *.o.*
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
38
  *.patch
1e65174a3   Linus Torvalds   Add some basic .g...
39
  *.s
20ede2741   Brian Gerst   gitignore: ignore...
40
  *.so
f322727b9   Thomas Gleixner   x86: update .giti...
41
  *.so.dbg
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
42
  *.su
ac3b719cc   Josh Triplett   [PATCH] Add symbo...
43
  *.symtypes
598893002   Masahiro Yamada   .gitignore: move ...
44
  *.tab.[ch]
f4ae94972   Andrey Skvortsov   .gitignore: ignor...
45
  *.tar
790e10ba6   Romain Francoise   .gitignore: ignor...
46
  *.xz
6f3decaba   Adam Borowski   .gitignore: Add Z...
47
  *.zst
082722a0f   Zhao, Gang   .gitignore: ignor...
48
  Module.symvers
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
49
  modules.builtin
a564bdeb5   Masahiro Yamada   .gitignore: ignor...
50
  modules.order
1e65174a3   Linus Torvalds   Add some basic .g...
51
52
53
54
  
  #
  # Top-level generic files
  #
6db823cf4   Linus Torvalds   Fix up .gitignore...
55
56
57
58
  /tags
  /TAGS
  /linux
  /vmlinux
d0fe116b4   Florian Fainelli   gitignore: Add MI...
59
  /vmlinux.32
269a535ca   Masahiro Yamada   modpost: generate...
60
  /vmlinux.symvers
2478a8a15   Daniel Thompson   scripts/gdb: igno...
61
  /vmlinux-gdb.py
6db823cf4   Linus Torvalds   Fix up .gitignore...
62
63
64
  /vmlinuz
  /System.map
  /Module.markers
898490c01   Alexey Gladkov   moduleparam: Save...
65
  /modules.builtin.modinfo
bbc55bded   Masahiro Yamada   modpost: dump mis...
66
  /modules.nsdeps
6db823cf4   Linus Torvalds   Fix up .gitignore...
67
68
  
  #
af60e2070   Masahiro Yamada   kbuild: rpm-pkg: ...
69
70
71
72
73
  # RPM spec file (make rpm-pkg)
  #
  /*.spec
  
  #
b75682860   Greg Dietsche   gitignore: ignore...
74
75
76
77
78
  # Debian directory (make deb-pkg)
  #
  /debian/
  
  #
5704d4557   Paolo Pisati   scripts/package: ...
79
80
81
82
83
  # Snap directory (make snap-pkg)
  #
  /snap/
  
  #
dd10ca6c9   Andrey Skvortsov   gitignore: ignore...
84
85
86
87
88
  # tar directory (make tar*-pkg)
  #
  /tar-install/
  
  #
f46e65da4   Masahiro Yamada   .gitignore: exclu...
89
  # We don't want to ignore the following even if they are dot-files
6db823cf4   Linus Torvalds   Fix up .gitignore...
90
  #
f46e65da4   Masahiro Yamada   .gitignore: exclu...
91
92
93
94
  !.clang-format
  !.cocciconfig
  !.get_maintainer.ignore
  !.gitattributes
9e447a7f1   Denis V. Lunev   .gitignore update...
95
  !.gitignore
f72e9df0e   Eduard - Gabriel Munteanu   Fix and clean top...
96
  !.mailmap
1e65174a3   Linus Torvalds   Add some basic .g...
97
98
99
100
  
  #
  # Generated include files
  #
1e35663e4   Masahiro Yamada   .gitignore: add l...
101
102
103
104
  /include/config/
  /include/generated/
  /include/ksym/
  /arch/*/include/generated/
1e65174a3   Linus Torvalds   Add some basic .g...
105

1d519605f   Mauro Carvalho Chehab   V4L/DVB (3300b): ...
106
107
  # stgit generated dirs
  patches-*
8ccf28324   Qi Yong   gitignore: gitign...
108
109
110
111
  
  # quilt's files
  patches
  series
132e2bc3e   Tobias Klauser   [PATCH] Add cscop...
112
113
114
  
  # cscope files
  cscope.*
9723c046b   Jike Song   .gitignore: match...
115
  ncscope.*
3f1b0e1f2   Alexey Dobriyan   .gitignore update
116

f2ac5e789   Jani Nikula   gitignore: Add GN...
117
118
119
120
121
  # gnu global files
  GPATH
  GRTAGS
  GSYMS
  GTAGS
a37161c05   Andi Kleen   Kbuild: Add ID fi...
122
123
  # id-utils files
  ID
3f1b0e1f2   Alexey Dobriyan   .gitignore update
124
  *.orig
708865547   Chris Dearman   .gitignore: ignor...
125
126
  *~
  \#*#
addbcdbbf   David Howells   MODSIGN: Provide ...
127
128
129
130
131
  
  #
  # Leavings from module signing
  #
  extra_certificates
fb1179499   David Woodhouse   modsign: Use sing...
132
  signing_key.pem
addbcdbbf   David Howells   MODSIGN: Provide ...
133
134
  signing_key.priv
  signing_key.x509
addbcdbbf   David Howells   MODSIGN: Provide ...
135
  x509.genkey
25fba9beb   Borislav Petkov   gitignore: add al...
136
137
  
  # Kconfig presets
7fb1fc420   Masahiro Yamada   .gitignore: add m...
138
139
140
141
142
143
  /all.config
  /alldef.config
  /allmod.config
  /allno.config
  /allrandom.config
  /allyes.config
dfe048724   Boaz Harrosh   .gitignore: Add K...
144

ba77dca58   Paul Menzel   .gitignore: Do no...
145
146
  # Kconfig savedefconfig output
  /defconfig
dfe048724   Boaz Harrosh   .gitignore: Add K...
147
148
  # Kdevelop4
  *.kdev4
26c4c71bc   Toru Komatsu   .gitignore: Add c...
149
150
151
  
  # Clang's compilation database file
  /compile_commands.json
f6236efce   Mauro Carvalho Chehab   .gitignore: docs:...
152
153
154
  
  # Documentation toolchain
  sphinx_*/