]>
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 | ||
6db823cf | 95 | # |
f46e65da | 96 | # We don't want to ignore the following even if they are dot-files |
6db823cf | 97 | # |
f46e65da MY |
98 | !.clang-format |
99 | !.cocciconfig | |
5a602de9 | 100 | !.editorconfig |
f46e65da MY |
101 | !.get_maintainer.ignore |
102 | !.gitattributes | |
9e447a7f | 103 | !.gitignore |
cb8865fd | 104 | !.kunitconfig |
f72e9df0 | 105 | !.mailmap |
80db40ba | 106 | !.rustfmt.toml |
1e65174a LT |
107 | |
108 | # | |
109 | # Generated include files | |
110 | # | |
1e35663e MY |
111 | /include/config/ |
112 | /include/generated/ | |
1e35663e | 113 | /arch/*/include/generated/ |
1e65174a | 114 | |
1d519605 MCC |
115 | # stgit generated dirs |
116 | patches-* | |
8ccf2832 QY |
117 | |
118 | # quilt's files | |
119 | patches | |
120 | series | |
132e2bc3 | 121 | |
819cb9fc MY |
122 | # ctags files |
123 | tags | |
124 | TAGS | |
125 | ||
132e2bc3 TK |
126 | # cscope files |
127 | cscope.* | |
9723c046 | 128 | ncscope.* |
3f1b0e1f | 129 | |
f2ac5e78 JN |
130 | # gnu global files |
131 | GPATH | |
132 | GRTAGS | |
133 | GSYMS | |
134 | GTAGS | |
135 | ||
a37161c0 AK |
136 | # id-utils files |
137 | ID | |
138 | ||
3f1b0e1f | 139 | *.orig |
70886554 CD |
140 | *~ |
141 | \#*# | |
addbcdbb DH |
142 | |
143 | # | |
144 | # Leavings from module signing | |
145 | # | |
146 | extra_certificates | |
fb117949 | 147 | signing_key.pem |
addbcdbb DH |
148 | signing_key.priv |
149 | signing_key.x509 | |
addbcdbb | 150 | x509.genkey |
25fba9be BP |
151 | |
152 | # Kconfig presets | |
7fb1fc42 MY |
153 | /all.config |
154 | /alldef.config | |
155 | /allmod.config | |
156 | /allno.config | |
157 | /allrandom.config | |
158 | /allyes.config | |
dfe04872 | 159 | |
ba77dca5 PM |
160 | # Kconfig savedefconfig output |
161 | /defconfig | |
162 | ||
dfe04872 BH |
163 | # Kdevelop4 |
164 | *.kdev4 | |
26c4c71b TK |
165 | |
166 | # Clang's compilation database file | |
167 | /compile_commands.json | |
f6236efc MCC |
168 | |
169 | # Documentation toolchain | |
170 | sphinx_*/ | |
8c4555cc MO |
171 | |
172 | # Rust analyzer configuration | |
173 | /rust-project.json |