Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [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-04 21:43:10 -0700 | [diff] [blame] | 6 | # NOTE! Please use 'git ls-files -i --exclude-standard' |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 7 | # command after changing this file, to see if there are |
| 8 | # any tracked files which get ignored after the change. |
| 9 | # |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 10 | # Normal rules |
| 11 | # |
| 12 | .* |
| 13 | *.o |
Alexey Dobriyan | 96918a35 | 2007-07-31 00:37:25 -0700 | [diff] [blame] | 14 | *.o.* |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 15 | *.a |
| 16 | *.s |
| 17 | *.ko |
Brian Gerst | 20ede27 | 2006-01-05 12:10:52 -0500 | [diff] [blame] | 18 | *.so |
Thomas Gleixner | f322727 | 2007-10-19 20:35:02 +0200 | [diff] [blame] | 19 | *.so.dbg |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 20 | *.mod.c |
Josh Triplett | 0f71a373 | 2006-09-16 12:15:42 -0700 | [diff] [blame] | 21 | *.i |
Josh Triplett | 87dedbd | 2006-09-16 12:15:43 -0700 | [diff] [blame] | 22 | *.lst |
Josh Triplett | ac3b719 | 2006-09-16 12:15:44 -0700 | [diff] [blame] | 23 | *.symtypes |
Sam Ravnborg | c6025f4 | 2007-12-31 14:26:12 +0100 | [diff] [blame] | 24 | *.order |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 25 | *.elf |
| 26 | *.bin |
Andrey Skvortsov | f4ae949 | 2015-04-16 12:49:24 -0700 | [diff] [blame] | 27 | *.tar |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 28 | *.gz |
Gertjan van Wingerde | e3a41d7 | 2009-11-24 06:34:03 +0100 | [diff] [blame] | 29 | *.bz2 |
Arne Janbu | 3f8d9ce | 2009-06-10 18:25:10 +0200 | [diff] [blame] | 30 | *.lzma |
Romain Francoise | 790e10b | 2011-02-22 10:48:06 +0100 | [diff] [blame] | 31 | *.xz |
Markus Trippelsdorf | 4e50529 | 2013-07-31 13:53:33 -0700 | [diff] [blame] | 32 | *.lz4 |
Philipp Kohlbecher | 52b8002 | 2010-03-17 19:52:12 +0100 | [diff] [blame] | 33 | *.lzo |
Mike Frysinger | 35763e8 | 2009-05-26 19:37:54 -0400 | [diff] [blame] | 34 | *.patch |
Amerigo Wang | 7a6b1f1 | 2009-06-22 17:18:32 +0800 | [diff] [blame] | 35 | *.gcno |
VinÃcius Tinti | 30c02b6 | 2017-04-24 13:04:58 -0700 | [diff] [blame] | 36 | *.ll |
Zhao, Gang | 082722a | 2014-04-14 14:56:15 +0800 | [diff] [blame] | 37 | modules.builtin |
| 38 | Module.symvers |
Andi Kleen | 866ced9 | 2014-07-30 20:50:18 +0200 | [diff] [blame] | 39 | *.dwo |
Rasmus Villemoes | e255728 | 2015-08-20 11:53:28 +0200 | [diff] [blame] | 40 | *.su |
Emese Revfy | 6b90bd4 | 2016-05-24 00:09:38 +0200 | [diff] [blame] | 41 | *.c.[012]*.* |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 42 | |
| 43 | # |
| 44 | # Top-level generic files |
| 45 | # |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 46 | /tags |
| 47 | /TAGS |
| 48 | /linux |
| 49 | /vmlinux |
Florian Fainelli | d0fe116 | 2015-04-24 10:27:40 -0700 | [diff] [blame] | 50 | /vmlinux.32 |
Daniel Thompson | 2478a8a | 2015-02-17 13:47:38 -0800 | [diff] [blame] | 51 | /vmlinux-gdb.py |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 52 | /vmlinuz |
| 53 | /System.map |
| 54 | /Module.markers |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 55 | |
| 56 | # |
Greg Dietsche | b756828 | 2011-06-30 18:42:50 -0500 | [diff] [blame] | 57 | # Debian directory (make deb-pkg) |
| 58 | # |
| 59 | /debian/ |
| 60 | |
| 61 | # |
Andrey Skvortsov | dd10ca6 | 2015-02-12 15:01:19 -0800 | [diff] [blame] | 62 | # tar directory (make tar*-pkg) |
| 63 | # |
| 64 | /tar-install/ |
| 65 | |
| 66 | # |
Kyeongmin Cho | 52bbe14 | 2016-04-28 02:06:49 +0900 | [diff] [blame] | 67 | # git files that we don't want to ignore even if they are dot-files |
Linus Torvalds | 6db823c | 2010-03-12 16:30:23 -0800 | [diff] [blame] | 68 | # |
Denis V. Lunev | 9e447a7f | 2007-10-16 11:22:21 +0400 | [diff] [blame] | 69 | !.gitignore |
Eduard - Gabriel Munteanu | f72e9df | 2008-06-26 10:54:34 +0300 | [diff] [blame] | 70 | !.mailmap |
Luis R. Rodriguez | dd951fc | 2016-06-29 15:14:56 -0700 | [diff] [blame] | 71 | !.cocciconfig |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 72 | |
| 73 | # |
| 74 | # Generated include files |
| 75 | # |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 76 | include/config |
Sam Ravnborg | f14875a | 2009-04-18 23:51:08 +0200 | [diff] [blame] | 77 | include/generated |
Sam Ravnborg | d8ecc5c | 2011-04-27 22:29:49 +0200 | [diff] [blame] | 78 | arch/*/include/generated |
Linus Torvalds | 1e65174 | 2005-10-18 08:26:15 -0700 | [diff] [blame] | 79 | |
Mauro Carvalho Chehab | 1d51960 | 2006-02-27 00:07:24 -0300 | [diff] [blame] | 80 | # stgit generated dirs |
| 81 | patches-* |
Qi Yong | 8ccf283 | 2006-07-17 13:37:06 +0800 | [diff] [blame] | 82 | |
| 83 | # quilt's files |
| 84 | patches |
| 85 | series |
Tobias Klauser | 132e2bc | 2006-12-22 01:07:32 -0800 | [diff] [blame] | 86 | |
| 87 | # cscope files |
| 88 | cscope.* |
Jike Song | 9723c04 | 2008-05-22 09:23:10 +0800 | [diff] [blame] | 89 | ncscope.* |
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 90 | |
Jani Nikula | f2ac5e7 | 2009-06-11 12:21:47 +0300 | [diff] [blame] | 91 | # gnu global files |
| 92 | GPATH |
| 93 | GRTAGS |
| 94 | GSYMS |
| 95 | GTAGS |
| 96 | |
Andi Kleen | a37161c | 2015-04-16 14:02:41 -0700 | [diff] [blame] | 97 | # id-utils files |
| 98 | ID |
| 99 | |
Alexey Dobriyan | 3f1b0e1 | 2007-07-15 23:41:52 -0700 | [diff] [blame] | 100 | *.orig |
Chris Dearman | 7088655 | 2008-03-04 14:28:59 -0800 | [diff] [blame] | 101 | *~ |
| 102 | \#*# |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 103 | |
| 104 | # |
| 105 | # Leavings from module signing |
| 106 | # |
| 107 | extra_certificates |
David Woodhouse | fb11794 | 2015-07-20 21:16:30 +0100 | [diff] [blame] | 108 | signing_key.pem |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 109 | signing_key.priv |
| 110 | signing_key.x509 |
David Howells | addbcdb | 2012-09-26 10:09:50 +0100 | [diff] [blame] | 111 | x509.genkey |
Borislav Petkov | 25fba9b | 2014-02-10 14:25:45 -0800 | [diff] [blame] | 112 | |
| 113 | # Kconfig presets |
| 114 | all.config |
Boaz Harrosh | dfe0487 | 2014-11-25 18:42:54 +0200 | [diff] [blame] | 115 | |
| 116 | # Kdevelop4 |
| 117 | *.kdev4 |
Steve Muckle | 96a28fc | 2017-09-27 17:18:48 -0700 | [diff] [blame] | 118 | |
| 119 | # fetched Android config fragments |
| 120 | kernel/configs/android-*.cfg |