]>
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 | |
a0f6e5e9 | 27 | *.gcda |
1377dd3e MY |
28 | *.gz |
29 | *.i | |
30 | *.ko | |
59889300 | 31 | *.lex.c |
1377dd3e MY |
32 | *.ll |
33 | *.lst | |
34 | *.lz4 | |
35 | *.lzma | |
36 | *.lzo | |
b7dca6dd | 37 | *.mod |
1377dd3e | 38 | *.mod.c |
1e65174a | 39 | *.o |
96918a35 | 40 | *.o.* |
1377dd3e | 41 | *.patch |
2f7ab126 | 42 | *.rmeta |
924d28b3 | 43 | *.rpm |
2f7ab126 | 44 | *.rsi |
1e65174a | 45 | *.s |
20ede274 | 46 | *.so |
f322727b | 47 | *.so.dbg |
1377dd3e | 48 | *.su |
ac3b719c | 49 | *.symtypes |
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 |
5f5e7344 | 73 | /modules.builtin.ranges |
bbc55bde | 74 | /modules.nsdeps |
6db823cf | 75 | |
af60e207 MY |
76 | # |
77 | # RPM spec file (make rpm-pkg) | |
78 | # | |
81f59a26 | 79 | /rpmbuild/ |
af60e207 | 80 | |
b7568286 GD |
81 | # |
82 | # Debian directory (make deb-pkg) | |
83 | # | |
84 | /debian/ | |
85 | ||
5704d455 PP |
86 | # |
87 | # Snap directory (make snap-pkg) | |
88 | # | |
89 | /snap/ | |
90 | ||
dd10ca6c AS |
91 | # |
92 | # tar directory (make tar*-pkg) | |
93 | # | |
94 | /tar-install/ | |
95 | ||
c8578539 TW |
96 | # |
97 | # pacman files (make pacman-pkg) | |
98 | # | |
99 | /PKGBUILD | |
100 | /pacman/ | |
101 | ||
6db823cf | 102 | # |
f46e65da | 103 | # We don't want to ignore the following even if they are dot-files |
6db823cf | 104 | # |
f46e65da | 105 | !.clang-format |
7d56786e | 106 | !.clippy.toml |
f46e65da | 107 | !.cocciconfig |
5a602de9 | 108 | !.editorconfig |
f46e65da MY |
109 | !.get_maintainer.ignore |
110 | !.gitattributes | |
9e447a7f | 111 | !.gitignore |
cb8865fd | 112 | !.kunitconfig |
f72e9df0 | 113 | !.mailmap |
80db40ba | 114 | !.rustfmt.toml |
1e65174a LT |
115 | |
116 | # | |
117 | # Generated include files | |
118 | # | |
1e35663e MY |
119 | /include/config/ |
120 | /include/generated/ | |
1e35663e | 121 | /arch/*/include/generated/ |
1e65174a | 122 | |
1d519605 MCC |
123 | # stgit generated dirs |
124 | patches-* | |
8ccf2832 QY |
125 | |
126 | # quilt's files | |
127 | patches | |
128 | series | |
132e2bc3 | 129 | |
819cb9fc MY |
130 | # ctags files |
131 | tags | |
4198a4d2 | 132 | !tags/ |
819cb9fc MY |
133 | TAGS |
134 | ||
132e2bc3 TK |
135 | # cscope files |
136 | cscope.* | |
9723c046 | 137 | ncscope.* |
3f1b0e1f | 138 | |
f2ac5e78 JN |
139 | # gnu global files |
140 | GPATH | |
141 | GRTAGS | |
142 | GSYMS | |
143 | GTAGS | |
144 | ||
a37161c0 AK |
145 | # id-utils files |
146 | ID | |
147 | ||
70886554 CD |
148 | *~ |
149 | \#*# | |
addbcdbb DH |
150 | |
151 | # | |
152 | # Leavings from module signing | |
153 | # | |
154 | extra_certificates | |
fb117949 | 155 | signing_key.pem |
addbcdbb DH |
156 | signing_key.priv |
157 | signing_key.x509 | |
addbcdbb | 158 | x509.genkey |
25fba9be BP |
159 | |
160 | # Kconfig presets | |
7fb1fc42 MY |
161 | /all.config |
162 | /alldef.config | |
163 | /allmod.config | |
164 | /allno.config | |
165 | /allrandom.config | |
166 | /allyes.config | |
dfe04872 | 167 | |
ba77dca5 PM |
168 | # Kconfig savedefconfig output |
169 | /defconfig | |
170 | ||
dfe04872 BH |
171 | # Kdevelop4 |
172 | *.kdev4 | |
26c4c71b TK |
173 | |
174 | # Clang's compilation database file | |
175 | /compile_commands.json | |
f6236efc MCC |
176 | |
177 | # Documentation toolchain | |
178 | sphinx_*/ | |
8c4555cc MO |
179 | |
180 | # Rust analyzer configuration | |
181 | /rust-project.json |