Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 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 | # | ||||
Matt Kraai | ff2f5ff | 2009-06-05 04:43:10 | [diff] [blame] | 6 | # NOTE! Please use 'git ls-files -i --exclude-standard' |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 07:54:34 | [diff] [blame] | 7 | # command after changing this file, to see if there are |
8 | # any tracked files which get ignored after the change. | ||||
9 | # | ||||
Masahiro Yamada | bafda5d3 | 2017-10-30 15:33:45 | [diff] [blame] | 10 | # Normal rules (sorted alphabetically) |
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 11 | # |
12 | .* | ||||
Masahiro Yamada | bafda5d3 | 2017-10-30 15:33:45 | [diff] [blame] | 13 | *.a |
14 | *.bin | ||||
15 | *.bz2 | ||||
16 | *.c.[012]*.* | ||||
Masahiro Yamada | abc5896b | 2017-10-30 15:33:46 | [diff] [blame] | 17 | *.dtb |
18 | *.dtb.S | ||||
Masahiro Yamada | bafda5d3 | 2017-10-30 15:33:45 | [diff] [blame] | 19 | *.dwo |
20 | *.elf | ||||
21 | *.gcno | ||||
22 | *.gz | ||||
23 | *.i | ||||
24 | *.ko | ||||
25 | *.ll | ||||
26 | *.lst | ||||
27 | *.lz4 | ||||
28 | *.lzma | ||||
29 | *.lzo | ||||
30 | *.mod.c | ||||
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 31 | *.o |
Alexey Dobriyan | 96918a3 | 2007-07-31 07:37:25 | [diff] [blame] | 32 | *.o.* |
Masahiro Yamada | bafda5d3 | 2017-10-30 15:33:45 | [diff] [blame] | 33 | *.order |
34 | *.patch | ||||
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 35 | *.s |
Brian Gerst | 20ede274 | 2006-01-05 17:10:52 | [diff] [blame] | 36 | *.so |
Thomas Gleixner | f322727 | 2007-10-19 18:35:02 | [diff] [blame] | 37 | *.so.dbg |
Rasmus Villemoes | e255728 | 2015-08-20 09:53:28 | [diff] [blame] | 38 | *.su |
Masahiro Yamada | bafda5d3 | 2017-10-30 15:33:45 | [diff] [blame] | 39 | *.symtypes |
40 | *.tar | ||||
41 | *.xz | ||||
42 | Module.symvers | ||||
43 | modules.builtin | ||||
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 44 | |
45 | # | ||||
46 | # Top-level generic files | ||||
47 | # | ||||
Linus Torvalds | 6db823c | 2010-03-13 00:30:23 | [diff] [blame] | 48 | /tags |
49 | /TAGS | ||||
50 | /linux | ||||
51 | /vmlinux | ||||
Florian Fainelli | d0fe116 | 2015-04-24 17:27:40 | [diff] [blame] | 52 | /vmlinux.32 |
Daniel Thompson | 2478a8a | 2015-02-17 21:47:38 | [diff] [blame] | 53 | /vmlinux-gdb.py |
Linus Torvalds | 6db823c | 2010-03-13 00:30:23 | [diff] [blame] | 54 | /vmlinuz |
55 | /System.map | ||||
56 | /Module.markers | ||||
Linus Torvalds | 6db823c | 2010-03-13 00:30:23 | [diff] [blame] | 57 | |
58 | # | ||||
Masahiro Yamada | 806d61d | 2017-09-30 01:10:10 | [diff] [blame] | 59 | # RPM spec file (make rpm-pkg) |
60 | # | ||||
61 | /*.spec | ||||
62 | |||||
63 | # | ||||
Greg Dietsche | b756828 | 2011-06-30 23:42:50 | [diff] [blame] | 64 | # Debian directory (make deb-pkg) |
65 | # | ||||
66 | /debian/ | ||||
67 | |||||
68 | # | ||||
Andrey Skvortsov | dd10ca6 | 2015-02-12 23:01:19 | [diff] [blame] | 69 | # tar directory (make tar*-pkg) |
70 | # | ||||
71 | /tar-install/ | ||||
72 | |||||
73 | # | ||||
Kyeongmin Cho | 52bbe14 | 2016-04-27 17:06:49 | [diff] [blame] | 74 | # git files that we don't want to ignore even if they are dot-files |
Linus Torvalds | 6db823c | 2010-03-13 00:30:23 | [diff] [blame] | 75 | # |
Denis V. Lunev | 9e447a7 | 2007-10-16 07:22:21 | [diff] [blame] | 76 | !.gitignore |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 07:54:34 | [diff] [blame] | 77 | !.mailmap |
Luis R. Rodriguez | dd951fc | 2016-06-29 22:14:56 | [diff] [blame] | 78 | !.cocciconfig |
Miguel Ojeda | 59db4a3 | 2018-04-10 23:32:40 | [diff] [blame] | 79 | !.clang-format |
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 80 | |
81 | # | ||||
82 | # Generated include files | ||||
83 | # | ||||
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 84 | include/config |
Sam Ravnborg | f14875a | 2009-04-18 21:51:08 | [diff] [blame] | 85 | include/generated |
Sam Ravnborg | d8ecc5c | 2011-04-27 20:29:49 | [diff] [blame] | 86 | arch/*/include/generated |
Linus Torvalds | 1e65174 | 2005-10-18 15:26:15 | [diff] [blame] | 87 | |
vbendeb | 6ba5a07 | 2010-06-03 17:06:55 | [diff] [blame] | 88 | # kernelconfig build directory |
89 | /build/ | ||||
90 | |||||
Mauro Carvalho Chehab | 1d51960 | 2006-02-27 03:07:24 | [diff] [blame] | 91 | # stgit generated dirs |
92 | patches-* | ||||
Qi Yong | 8ccf283 | 2006-07-17 05:37:06 | [diff] [blame] | 93 | |
94 | # quilt's files | ||||
95 | patches | ||||
96 | series | ||||
Tobias Klauser | 132e2bc | 2006-12-22 09:07:32 | [diff] [blame] | 97 | |
98 | # cscope files | ||||
99 | cscope.* | ||||
Jike Song | 9723c04 | 2008-05-22 01:23:10 | [diff] [blame] | 100 | ncscope.* |
Alexey Dobriyan | 3f1b0e1 | 2007-07-16 06:41:52 | [diff] [blame] | 101 | |
Jani Nikula | f2ac5e7 | 2009-06-11 09:21:47 | [diff] [blame] | 102 | # gnu global files |
103 | GPATH | ||||
104 | GRTAGS | ||||
105 | GSYMS | ||||
106 | GTAGS | ||||
107 | |||||
Andi Kleen | a37161c | 2015-04-16 21:02:41 | [diff] [blame] | 108 | # id-utils files |
109 | ID | ||||
110 | |||||
Alexey Dobriyan | 3f1b0e1 | 2007-07-16 06:41:52 | [diff] [blame] | 111 | *.orig |
Chris Dearman | 7088655 | 2008-03-04 22:28:59 | [diff] [blame] | 112 | *~ |
113 | \#*# | ||||
David Howells | addbcdb | 2012-09-26 09:09:50 | [diff] [blame] | 114 | |
115 | # | ||||
116 | # Leavings from module signing | ||||
117 | # | ||||
118 | extra_certificates | ||||
David Woodhouse | fb11794 | 2015-07-20 20:16:30 | [diff] [blame] | 119 | signing_key.pem |
David Howells | addbcdb | 2012-09-26 09:09:50 | [diff] [blame] | 120 | signing_key.priv |
121 | signing_key.x509 | ||||
David Howells | addbcdb | 2012-09-26 09:09:50 | [diff] [blame] | 122 | x509.genkey |
Borislav Petkov | 25fba9b | 2014-02-10 22:25:45 | [diff] [blame] | 123 | |
124 | # Kconfig presets | ||||
125 | all.config | ||||
Boaz Harrosh | dfe0487 | 2014-11-25 16:42:54 | [diff] [blame] | 126 | |
127 | # Kdevelop4 | ||||
128 | *.kdev4 |