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