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