Commit | Line | Data |
---|---|---|
13c60117 MD |
1 | # |
2 | # NOTE! Don't add files that are generated in specific | |
3 | # subdirectories here. Add them in the ".gitignore" file | |
4 | # in that subdirectory instead. | |
5 | # | |
6 | # NOTE! Please use 'git ls-files -i --exclude-standard' | |
7 | # command after changing this file, to see if there are | |
8 | # any tracked files which get ignored after the change. | |
9 | # | |
6f5c379e | 10 | # Normal rules (sorted alphabetically) |
13c60117 MD |
11 | # |
12 | .* | |
6f5c379e MJ |
13 | *.a |
14 | *.asn1.[ch] | |
15 | *.bin | |
16 | *.bz2 | |
17 | *.c.[012]*.* | |
18 | *.dt.yaml | |
19 | *.dtb | |
20 | *.dtb.S | |
21 | *.dwo | |
22 | *.elf | |
23 | *.gcno | |
24 | *.gz | |
25 | *.i | |
26 | *.ko | |
27 | *.lex.c | |
28 | *.ll | |
29 | *.lst | |
30 | *.lz4 | |
31 | *.lzma | |
32 | *.lzo | |
33 | *.mod | |
34 | *.mod.c | |
13c60117 MD |
35 | *.o |
36 | *.o.* | |
6f5c379e | 37 | *.patch |
13c60117 | 38 | *.s |
13c60117 MD |
39 | *.so |
40 | *.so.dbg | |
6f5c379e | 41 | *.su |
13c60117 | 42 | *.symtypes |
6f5c379e MJ |
43 | *.tab.[ch] |
44 | *.tar | |
45 | *.xz | |
46 | Module.symvers | |
13c60117 | 47 | modules.builtin |
6f5c379e | 48 | modules.order |
13c60117 MD |
49 | |
50 | # | |
51 | # Top-level generic files | |
52 | # | |
53 | /tags | |
54 | /TAGS | |
55 | /linux | |
56 | /vmlinux | |
6f5c379e MJ |
57 | /vmlinux.32 |
58 | /vmlinux-gdb.py | |
13c60117 MD |
59 | /vmlinuz |
60 | /System.map | |
61 | /Module.markers | |
6f5c379e MJ |
62 | /modules.builtin.modinfo |
63 | /modules.nsdeps | |
34f5da01 | 64 | |
6f5c379e MJ |
65 | # |
66 | # RPM spec file (make rpm-pkg) | |
67 | # | |
68 | /*.spec | |
69 | ||
70 | # | |
71 | # Debian directory (make deb-pkg) | |
72 | # | |
73 | /debian/ | |
74 | ||
75 | # | |
76 | # Snap directory (make snap-pkg) | |
77 | # | |
78 | /snap/ | |
79 | ||
80 | # | |
81 | # tar directory (make tar*-pkg) | |
82 | # | |
83 | /tar-install/ | |
13c60117 MD |
84 | |
85 | # | |
6f5c379e | 86 | # We don't want to ignore the following even if they are dot-files |
13c60117 | 87 | # |
6f5c379e MJ |
88 | !.clang-format |
89 | !.cocciconfig | |
90 | !.get_maintainer.ignore | |
91 | !.gitattributes | |
13c60117 MD |
92 | !.gitignore |
93 | !.mailmap | |
94 | ||
95 | # | |
96 | # Generated include files | |
97 | # | |
6f5c379e MJ |
98 | /include/config/ |
99 | /include/generated/ | |
100 | /include/ksym/ | |
101 | /arch/*/include/generated/ | |
13c60117 MD |
102 | |
103 | # stgit generated dirs | |
104 | patches-* | |
105 | ||
106 | # quilt's files | |
107 | patches | |
108 | series | |
109 | ||
110 | # cscope files | |
111 | cscope.* | |
112 | ncscope.* | |
113 | ||
114 | # gnu global files | |
115 | GPATH | |
116 | GRTAGS | |
117 | GSYMS | |
118 | GTAGS | |
119 | ||
6f5c379e MJ |
120 | # id-utils files |
121 | ID | |
122 | ||
13c60117 MD |
123 | *.orig |
124 | *~ | |
125 | \#*# | |
2df5d4b7 | 126 | |
6f5c379e MJ |
127 | # |
128 | # Leavings from module signing | |
129 | # | |
130 | extra_certificates | |
131 | signing_key.pem | |
132 | signing_key.priv | |
133 | signing_key.x509 | |
134 | x509.genkey | |
135 | ||
136 | # Kconfig presets | |
137 | /all.config | |
138 | /alldef.config | |
139 | /allmod.config | |
140 | /allno.config | |
141 | /allrandom.config | |
142 | /allyes.config | |
143 | ||
144 | # Kdevelop4 | |
145 | *.kdev4 | |
146 | ||
147 | # Clang's compilation database file | |
148 | /compile_commands.json | |
149 | ||
150 | # lttng-modules specific | |
2df5d4b7 | 151 | /extra_version |