]>
Commit | Line | Data |
---|---|---|
d198b34f | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1e65174a LT |
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 | # | |
b8a9ddca | 7 | # NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore' |
f72e9df0 EGM |
8 | # command after changing this file, to see if there are |
9 | # any tracked files which get ignored after the change. | |
10 | # | |
1377dd3e | 11 | # Normal rules (sorted alphabetically) |
1e65174a LT |
12 | # |
13 | .* | |
1377dd3e | 14 | *.a |
4fa8bc94 | 15 | *.asn1.[ch] |
1377dd3e MY |
16 | *.bin |
17 | *.bz2 | |
18 | *.c.[012]*.* | |
4f0e3a57 | 19 | *.dt.yaml |
10b62a2f | 20 | *.dtb |
ce88c9c7 | 21 | *.dtbo |
10b62a2f | 22 | *.dtb.S |
dcad240c | 23 | *.dtbo.S |
1377dd3e MY |
24 | *.dwo |
25 | *.elf | |
26 | *.gcno | |
27 | *.gz | |
28 | *.i | |
29 | *.ko | |
59889300 | 30 | *.lex.c |
1377dd3e MY |
31 | *.ll |
32 | *.lst | |
33 | *.lz4 | |
34 | *.lzma | |
35 | *.lzo | |
b7dca6dd | 36 | *.mod |
1377dd3e | 37 | *.mod.c |
1e65174a | 38 | *.o |
96918a35 | 39 | *.o.* |
1377dd3e | 40 | *.patch |
2f7ab126 | 41 | *.rmeta |
924d28b3 | 42 | *.rpm |
2f7ab126 | 43 | *.rsi |
1e65174a | 44 | *.s |
20ede274 | 45 | *.so |
f322727b | 46 | *.so.dbg |
1377dd3e | 47 | *.su |
ac3b719c | 48 | *.symtypes |
38e89184 | 49 | *.symversions |
59889300 | 50 | *.tab.[ch] |
f4ae9497 | 51 | *.tar |
790e10ba | 52 | *.xz |
6f3decab | 53 | *.zst |
082722a0 | 54 | Module.symvers |
24507871 | 55 | dtbs-list |
a564bdeb | 56 | modules.order |
1e65174a LT |
57 | |
58 | # | |
59 | # Top-level generic files | |
60 | # | |
6db823cf | 61 | /linux |
69bc8d38 | 62 | /modules-only.symvers |
6db823cf | 63 | /vmlinux |
d0fe116b | 64 | /vmlinux.32 |
5cc12472 | 65 | /vmlinux.map |
269a535c | 66 | /vmlinux.symvers |
2478a8a1 | 67 | /vmlinux-gdb.py |
6db823cf LT |
68 | /vmlinuz |
69 | /System.map | |
70 | /Module.markers | |
40cb0203 | 71 | /modules.builtin |
898490c0 | 72 | /modules.builtin.modinfo |
bbc55bde | 73 | /modules.nsdeps |
6db823cf | 74 | |
af60e207 MY |
75 | # |
76 | # RPM spec file (make rpm-pkg) | |
77 | # | |
81f59a26 | 78 | /rpmbuild/ |
af60e207 | 79 | |
b7568286 GD |
80 | # |
81 | # Debian directory (make deb-pkg) | |
82 | # | |
83 | /debian/ | |
84 | ||
5704d455 PP |
85 | # |
86 | # Snap directory (make snap-pkg) | |
87 | # | |
88 | /snap/ | |
89 | ||
dd10ca6c AS |
90 | # |
91 | # tar directory (make tar*-pkg) | |
92 | # | |
93 | /tar-install/ | |
94 | ||
c8578539 TW |
95 | # |
96 | # pacman files (make pacman-pkg) | |
97 | # | |
98 | /PKGBUILD | |
99 | /pacman/ | |
100 | ||
6db823cf | 101 | # |
f46e65da | 102 | # We don't want to ignore the following even if they are dot-files |
6db823cf | 103 | # |
f46e65da MY |
104 | !.clang-format |
105 | !.cocciconfig | |
5a602de9 | 106 | !.editorconfig |
f46e65da MY |
107 | !.get_maintainer.ignore |
108 | !.gitattributes | |
9e447a7f | 109 | !.gitignore |
cb8865fd | 110 | !.kunitconfig |
f72e9df0 | 111 | !.mailmap |
80db40ba | 112 | !.rustfmt.toml |
1e65174a LT |
113 | |
114 | # | |
115 | # Generated include files | |
116 | # | |
1e35663e MY |
117 | /include/config/ |
118 | /include/generated/ | |
1e35663e | 119 | /arch/*/include/generated/ |
1e65174a | 120 | |
1d519605 MCC |
121 | # stgit generated dirs |
122 | patches-* | |
8ccf2832 QY |
123 | |
124 | # quilt's files | |
125 | patches | |
126 | series | |
132e2bc3 | 127 | |
819cb9fc MY |
128 | # ctags files |
129 | tags | |
130 | TAGS | |
131 | ||
132e2bc3 TK |
132 | # cscope files |
133 | cscope.* | |
9723c046 | 134 | ncscope.* |
3f1b0e1f | 135 | |
f2ac5e78 JN |
136 | # gnu global files |
137 | GPATH | |
138 | GRTAGS | |
139 | GSYMS | |
140 | GTAGS | |
141 | ||
a37161c0 AK |
142 | # id-utils files |
143 | ID | |
144 | ||
3f1b0e1f | 145 | *.orig |
70886554 CD |
146 | *~ |
147 | \#*# | |
addbcdbb DH |
148 | |
149 | # | |
150 | # Leavings from module signing | |
151 | # | |
152 | extra_certificates | |
fb117949 | 153 | signing_key.pem |
addbcdbb DH |
154 | signing_key.priv |
155 | signing_key.x509 | |
addbcdbb | 156 | x509.genkey |
25fba9be BP |
157 | |
158 | # Kconfig presets | |
7fb1fc42 MY |
159 | /all.config |
160 | /alldef.config | |
161 | /allmod.config | |
162 | /allno.config | |
163 | /allrandom.config | |
164 | /allyes.config | |
dfe04872 | 165 | |
ba77dca5 PM |
166 | # Kconfig savedefconfig output |
167 | /defconfig | |
168 | ||
dfe04872 BH |
169 | # Kdevelop4 |
170 | *.kdev4 | |
26c4c71b TK |
171 | |
172 | # Clang's compilation database file | |
173 | /compile_commands.json | |
f6236efc MCC |
174 | |
175 | # Documentation toolchain | |
176 | sphinx_*/ | |
8c4555cc MO |
177 | |
178 | # Rust analyzer configuration | |
179 | /rust-project.json |