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