]>
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 |
a564bdeb | 55 | modules.order |
1e65174a LT |
56 | |
57 | # | |
58 | # Top-level generic files | |
59 | # | |
6db823cf | 60 | /linux |
69bc8d38 | 61 | /modules-only.symvers |
6db823cf | 62 | /vmlinux |
d0fe116b | 63 | /vmlinux.32 |
5cc12472 | 64 | /vmlinux.map |
269a535c | 65 | /vmlinux.symvers |
2478a8a1 | 66 | /vmlinux-gdb.py |
6db823cf LT |
67 | /vmlinuz |
68 | /System.map | |
69 | /Module.markers | |
40cb0203 | 70 | /modules.builtin |
898490c0 | 71 | /modules.builtin.modinfo |
bbc55bde | 72 | /modules.nsdeps |
6db823cf | 73 | |
af60e207 MY |
74 | # |
75 | # RPM spec file (make rpm-pkg) | |
76 | # | |
77 | /*.spec | |
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 | |
100 | !.get_maintainer.ignore | |
101 | !.gitattributes | |
9e447a7f | 102 | !.gitignore |
cb8865fd | 103 | !.kunitconfig |
f72e9df0 | 104 | !.mailmap |
80db40ba | 105 | !.rustfmt.toml |
1e65174a LT |
106 | |
107 | # | |
108 | # Generated include files | |
109 | # | |
1e35663e MY |
110 | /include/config/ |
111 | /include/generated/ | |
1e35663e | 112 | /arch/*/include/generated/ |
1e65174a | 113 | |
1d519605 MCC |
114 | # stgit generated dirs |
115 | patches-* | |
8ccf2832 QY |
116 | |
117 | # quilt's files | |
118 | patches | |
119 | series | |
132e2bc3 | 120 | |
819cb9fc MY |
121 | # ctags files |
122 | tags | |
123 | TAGS | |
124 | ||
132e2bc3 TK |
125 | # cscope files |
126 | cscope.* | |
9723c046 | 127 | ncscope.* |
3f1b0e1f | 128 | |
f2ac5e78 JN |
129 | # gnu global files |
130 | GPATH | |
131 | GRTAGS | |
132 | GSYMS | |
133 | GTAGS | |
134 | ||
a37161c0 AK |
135 | # id-utils files |
136 | ID | |
137 | ||
3f1b0e1f | 138 | *.orig |
70886554 CD |
139 | *~ |
140 | \#*# | |
addbcdbb DH |
141 | |
142 | # | |
143 | # Leavings from module signing | |
144 | # | |
145 | extra_certificates | |
fb117949 | 146 | signing_key.pem |
addbcdbb DH |
147 | signing_key.priv |
148 | signing_key.x509 | |
addbcdbb | 149 | x509.genkey |
25fba9be BP |
150 | |
151 | # Kconfig presets | |
7fb1fc42 MY |
152 | /all.config |
153 | /alldef.config | |
154 | /allmod.config | |
155 | /allno.config | |
156 | /allrandom.config | |
157 | /allyes.config | |
dfe04872 | 158 | |
ba77dca5 PM |
159 | # Kconfig savedefconfig output |
160 | /defconfig | |
161 | ||
dfe04872 BH |
162 | # Kdevelop4 |
163 | *.kdev4 | |
26c4c71b TK |
164 | |
165 | # Clang's compilation database file | |
166 | /compile_commands.json | |
f6236efc MCC |
167 | |
168 | # Documentation toolchain | |
169 | sphinx_*/ | |
8c4555cc MO |
170 | |
171 | # Rust analyzer configuration | |
172 | /rust-project.json |