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