at commit c03c1a14

1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # NOTE! Don't add files that are generated in specific
4 # subdirectories here. Add them in the ".gitignore" file
5 # in that subdirectory instead.
6 #
7 # NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
8 # command after changing this file, to see if there are
9 # any tracked files which get ignored after the change.
10 #
11 # Normal rules (sorted alphabetically)
12 #
13 .*
14 *.a
15 *.asn1.[ch]
16 *.bc
17 *.bin
18 *.bz2
19 *.c.[012]*.*
20 *.dt.yaml
21 *.dtb
22 *.dtbo
23 *.dtb.S
24 *.dtbo.S
25 *.dwo
26 *.dylib
27 *.elf
28 *.gcno
29 *.gcda
30 *.gz
31 *.i
32 *.ko
33 *.lex.c
34 *.ll
35 *.lst
36 *.lz4
37 *.lzma
38 *.lzo
39 *.mod
40 *.mod.c
41 *.o
42 *.o.*
43 *.patch
44 *.pyc
45 *.rlib
46 *.rmeta
47 *.rpm
48 *.rsi
49 *.s
50 *.so
51 *.so.dbg
52 *.spdx.json
53 *.su
54 *.symtypes
55 *.tab.[ch]
56 *.tar
57 *.xz
58 *.zst
59 Module.symvers
60 dtbs-list
61 builtin.order
62 modules.order
63
64 #
65 # Top-level generic files
66 #
67 /linux
68 /modules-only.symvers
69 /vmlinux
70 /vmlinux.32
71 /vmlinux.map
72 /vmlinux.symvers
73 /vmlinux.thinlto-index
74 /vmlinux.unstripped
75 /vmlinux-gdb.py
76 /vmlinuz
77 /System.map
78 /Module.markers
79 /modules.builtin
80 /modules.builtin.modinfo
81 /modules.builtin.ranges
82 /modules.nsdeps
83
84 #
85 # RPM spec file (make rpm-pkg)
86 #
87 /rpmbuild/
88
89 #
90 # Debian directory (make deb-pkg)
91 #
92 /debian/
93
94 #
95 # Snap directory (make snap-pkg)
96 #
97 /snap/
98
99 #
100 # tar directory (make tar*-pkg)
101 #
102 /tar-install/
103
104 #
105 # pacman files (make pacman-pkg)
106 #
107 /PKGBUILD
108 /pacman/
109
110 #
111 # We don't want to ignore the following even if they are dot-files
112 #
113 !.clang-format
114 !.clippy.toml
115 !.cocciconfig
116 !.editorconfig
117 !.get_maintainer.ignore
118 !.gitattributes
119 !.gitignore
120 !.kunitconfig
121 !.mailmap
122 !.pylintrc
123 !.rustfmt.toml
124
125 #
126 # Generated include files
127 #
128 /include/config/
129 /include/generated/
130 /arch/*/include/generated/
131
132 # stgit generated dirs
133 patches-*
134
135 # quilt's files
136 patches
137 series
138
139 # ctags files
140 tags
141 !tags/
142 TAGS
143
144 # cscope files
145 cscope.*
146 ncscope.*
147
148 # gnu global files
149 GPATH
150 GRTAGS
151 GSYMS
152 GTAGS
153
154 # id-utils files
155 ID
156
157 *~
158 \#*#
159
160 #
161 # Leavings from module signing
162 #
163 extra_certificates
164 signing_key.pem
165 signing_key.priv
166 signing_key.x509
167 x509.genkey
168
169 # Kconfig presets
170 /all.config
171 /alldef.config
172 /allmod.config
173 /allno.config
174 /allrandom.config
175 /allyes.config
176
177 # Kconfig savedefconfig output
178 /defconfig
179
180 # Kdevelop4
181 *.kdev4
182
183 # Clang's compilation database file
184 compile_commands.json
185
186 # Documentation toolchain
187 sphinx_*/
188
189 # Rust analyzer configuration
190 /rust-project.json
191
192 # rustc error message long types
193 *.long-type-*.txt
194
195 # bc language scripts (not LLVM bitcode)
196 !kernel/time/timeconst.bc