d198b34f3855e (Masahiro Yamada 2020-03-03 22:35:59 +0900 1) # SPDX-License-Identifier: GPL-2.0-only
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 2) #
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 3) # NOTE! Don't add files that are generated in specific
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 4) # subdirectories here. Add them in the ".gitignore" file
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 5) # in that subdirectory instead.
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 6) #
ff2f5ff0cf224 (Matt Kraai 2009-06-04 21:43:10 -0700 7) # NOTE! Please use 'git ls-files -i --exclude-standard'
f72e9df0e04c0 (Eduard - Gabriel Munteanu 2008-06-26 10:54:34 +0300 8) # command after changing this file, to see if there are
f72e9df0e04c0 (Eduard - Gabriel Munteanu 2008-06-26 10:54:34 +0300 9) # any tracked files which get ignored after the change.
f72e9df0e04c0 (Eduard - Gabriel Munteanu 2008-06-26 10:54:34 +0300 10) #
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 11) # Normal rules (sorted alphabetically)
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 12) #
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 13) .*
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 14) *.a
4fa8bc949de11 (Masahiro Yamada 2018-03-23 22:04:37 +0900 15) *.asn1.[ch]
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 16) *.bin
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 17) *.bz2
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 18) *.c.[012]*.*
4f0e3a57d6eb7 (Rob Herring 2018-09-06 13:26:07 -0500 19) *.dt.yaml
10b62a2f785ab (Masahiro Yamada 2017-10-31 00:33:46 +0900 20) *.dtb
ce88c9c79455f (Viresh Kumar 2021-01-29 12:54:08 +0530 21) *.dtbo
10b62a2f785ab (Masahiro Yamada 2017-10-31 00:33:46 +0900 22) *.dtb.S
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 23) *.dwo
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 24) *.elf
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 25) *.gcno
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 26) *.gz
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 27) *.i
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 28) *.ko
5988930027456 (Masahiro Yamada 2018-03-23 22:04:30 +0900 29) *.lex.c
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 30) *.ll
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 31) *.lst
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 32) *.lz4
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 33) *.lzma
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 34) *.lzo
b7dca6dd1e591 (Masahiro Yamada 2019-07-17 15:17:57 +0900 35) *.mod
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 36) *.mod.c
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 37) *.o
96918a35a09f3 (Alexey Dobriyan 2007-07-31 00:37:25 -0700 38) *.o.*
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 39) *.patch
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 40) *.s
20ede2741551d (Brian Gerst 2006-01-05 12:10:52 -0500 41) *.so
f322727b92957 (Thomas Gleixner 2007-10-19 20:35:02 +0200 42) *.so.dbg
1377dd3e29878 (Masahiro Yamada 2017-10-31 00:33:45 +0900 43) *.su
ac3b719cc373a (Josh Triplett 2006-09-16 12:15:44 -0700 44) *.symtypes
38e8918490038 (Sami Tolvanen 2020-12-11 10:46:20 -0800 45) *.symversions
5988930027456 (Masahiro Yamada 2018-03-23 22:04:30 +0900 46) *.tab.[ch]
f4ae949728833 (Andrey Skvortsov 2015-04-16 12:49:24 -0700 47) *.tar
790e10ba6c93c (Romain Francoise 2011-02-22 10:48:06 +0100 48) *.xz
6f3decabaff03 (Adam Borowski 2020-07-30 12:08:40 -0700 49) *.zst
082722a0f1fd3 (Zhao, Gang 2014-04-14 14:56:15 +0800 50) Module.symvers
a564bdeb5e0d7 (Masahiro Yamada 2019-08-19 13:18:07 +0900 51) modules.order
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 52)
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 53) #
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 54) # Top-level generic files
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 55) #
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 56) /linux
69bc8d386aebb (Masahiro Yamada 2021-03-26 03:54:09 +0900 57) /modules-only.symvers
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 58) /vmlinux
d0fe116b4554d (Florian Fainelli 2015-04-24 10:27:40 -0700 59) /vmlinux.32
5cc1247204616 (Rasmus Villemoes 2021-03-05 10:27:07 +0100 60) /vmlinux.map
269a535ca931b (Masahiro Yamada 2020-06-01 14:57:11 +0900 61) /vmlinux.symvers
2478a8a15ccad (Daniel Thompson 2015-02-17 13:47:38 -0800 62) /vmlinux-gdb.py
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 63) /vmlinuz
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 64) /System.map
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 65) /Module.markers
40cb020305f40 (Masahiro Yamada 2021-04-25 15:24:05 +0900 66) /modules.builtin
898490c010b5d (Alexey Gladkov 2019-04-29 18:11:14 +0200 67) /modules.builtin.modinfo
bbc55bded4aaf (Masahiro Yamada 2019-10-29 21:38:07 +0900 68) /modules.nsdeps
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 69)
af60e20708797 (Masahiro Yamada 2017-09-30 10:10:10 +0900 70) #
af60e20708797 (Masahiro Yamada 2017-09-30 10:10:10 +0900 71) # RPM spec file (make rpm-pkg)
af60e20708797 (Masahiro Yamada 2017-09-30 10:10:10 +0900 72) #
af60e20708797 (Masahiro Yamada 2017-09-30 10:10:10 +0900 73) /*.spec
af60e20708797 (Masahiro Yamada 2017-09-30 10:10:10 +0900 74)
b756828609ee8 (Greg Dietsche 2011-06-30 18:42:50 -0500 75) #
b756828609ee8 (Greg Dietsche 2011-06-30 18:42:50 -0500 76) # Debian directory (make deb-pkg)
b756828609ee8 (Greg Dietsche 2011-06-30 18:42:50 -0500 77) #
b756828609ee8 (Greg Dietsche 2011-06-30 18:42:50 -0500 78) /debian/
b756828609ee8 (Greg Dietsche 2011-06-30 18:42:50 -0500 79)
5704d4557f279 (Paolo Pisati 2017-11-27 12:07:34 +0100 80) #
5704d4557f279 (Paolo Pisati 2017-11-27 12:07:34 +0100 81) # Snap directory (make snap-pkg)
5704d4557f279 (Paolo Pisati 2017-11-27 12:07:34 +0100 82) #
5704d4557f279 (Paolo Pisati 2017-11-27 12:07:34 +0100 83) /snap/
5704d4557f279 (Paolo Pisati 2017-11-27 12:07:34 +0100 84)
dd10ca6c95600 (Andrey Skvortsov 2015-02-12 15:01:19 -0800 85) #
dd10ca6c95600 (Andrey Skvortsov 2015-02-12 15:01:19 -0800 86) # tar directory (make tar*-pkg)
dd10ca6c95600 (Andrey Skvortsov 2015-02-12 15:01:19 -0800 87) #
dd10ca6c95600 (Andrey Skvortsov 2015-02-12 15:01:19 -0800 88) /tar-install/
dd10ca6c95600 (Andrey Skvortsov 2015-02-12 15:01:19 -0800 89)
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 90) #
f46e65da48b21 (Masahiro Yamada 2019-05-11 12:13:54 +0900 91) # We don't want to ignore the following even if they are dot-files
6db823cf4b44f (Linus Torvalds 2010-03-12 16:30:23 -0800 92) #
f46e65da48b21 (Masahiro Yamada 2019-05-11 12:13:54 +0900 93) !.clang-format
f46e65da48b21 (Masahiro Yamada 2019-05-11 12:13:54 +0900 94) !.cocciconfig
f46e65da48b21 (Masahiro Yamada 2019-05-11 12:13:54 +0900 95) !.get_maintainer.ignore
f46e65da48b21 (Masahiro Yamada 2019-05-11 12:13:54 +0900 96) !.gitattributes
9e447a7f1fd99 (Denis V. Lunev 2007-10-16 11:22:21 +0400 97) !.gitignore
f72e9df0e04c0 (Eduard - Gabriel Munteanu 2008-06-26 10:54:34 +0300 98) !.mailmap
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 99)
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 100) #
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 101) # Generated include files
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 102) #
1e35663e41360 (Masahiro Yamada 2019-04-30 00:17:53 +0900 103) /include/config/
1e35663e41360 (Masahiro Yamada 2019-04-30 00:17:53 +0900 104) /include/generated/
1e35663e41360 (Masahiro Yamada 2019-04-30 00:17:53 +0900 105) /include/ksym/
1e35663e41360 (Masahiro Yamada 2019-04-30 00:17:53 +0900 106) /arch/*/include/generated/
1e65174a33784 (Linus Torvalds 2005-10-18 08:26:15 -0700 107)
1d519605f13dd (Mauro Carvalho Chehab 2006-02-27 00:07:24 -0300 108) # stgit generated dirs
1d519605f13dd (Mauro Carvalho Chehab 2006-02-27 00:07:24 -0300 109) patches-*
8ccf28324c140 (Qi Yong 2006-07-17 13:37:06 +0800 110)
8ccf28324c140 (Qi Yong 2006-07-17 13:37:06 +0800 111) # quilt's files
8ccf28324c140 (Qi Yong 2006-07-17 13:37:06 +0800 112) patches
8ccf28324c140 (Qi Yong 2006-07-17 13:37:06 +0800 113) series
132e2bc3ee718 (Tobias Klauser 2006-12-22 01:07:32 -0800 114)
819cb9fc80733 (Masahiro Yamada 2021-04-25 15:24:04 +0900 115) # ctags files
819cb9fc80733 (Masahiro Yamada 2021-04-25 15:24:04 +0900 116) tags
819cb9fc80733 (Masahiro Yamada 2021-04-25 15:24:04 +0900 117) TAGS
819cb9fc80733 (Masahiro Yamada 2021-04-25 15:24:04 +0900 118)
132e2bc3ee718 (Tobias Klauser 2006-12-22 01:07:32 -0800 119) # cscope files
132e2bc3ee718 (Tobias Klauser 2006-12-22 01:07:32 -0800 120) cscope.*
9723c046bd598 (Jike Song 2008-05-22 09:23:10 +0800 121) ncscope.*
3f1b0e1f28754 (Alexey Dobriyan 2007-07-15 23:41:52 -0700 122)
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 123) # gnu global files
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 124) GPATH
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 125) GRTAGS
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 126) GSYMS
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 127) GTAGS
f2ac5e78928bf (Jani Nikula 2009-06-11 12:21:47 +0300 128)
a37161c0588c0 (Andi Kleen 2015-04-16 14:02:41 -0700 129) # id-utils files
a37161c0588c0 (Andi Kleen 2015-04-16 14:02:41 -0700 130) ID
a37161c0588c0 (Andi Kleen 2015-04-16 14:02:41 -0700 131)
3f1b0e1f28754 (Alexey Dobriyan 2007-07-15 23:41:52 -0700 132) *.orig
7088655477b51 (Chris Dearman 2008-03-04 14:28:59 -0800 133) *~
7088655477b51 (Chris Dearman 2008-03-04 14:28:59 -0800 134) \#*#
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 135)
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 136) #
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 137) # Leavings from module signing
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 138) #
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 139) extra_certificates
fb1179499134b (David Woodhouse 2015-07-20 21:16:30 +0100 140) signing_key.pem
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 141) signing_key.priv
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 142) signing_key.x509
addbcdbbf549c (David Howells 2012-09-26 10:09:50 +0100 143) x509.genkey
25fba9bebeb79 (Borislav Petkov 2014-02-10 14:25:45 -0800 144)
25fba9bebeb79 (Borislav Petkov 2014-02-10 14:25:45 -0800 145) # Kconfig presets
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 146) /all.config
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 147) /alldef.config
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 148) /allmod.config
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 149) /allno.config
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 150) /allrandom.config
7fb1fc420f3b1 (Masahiro Yamada 2019-05-07 21:48:46 +0900 151) /allyes.config
dfe0487249e57 (Boaz Harrosh 2014-11-25 18:42:54 +0200 152)
ba77dca584f5a (Paul Menzel 2020-07-02 13:12:00 +0200 153) # Kconfig savedefconfig output
ba77dca584f5a (Paul Menzel 2020-07-02 13:12:00 +0200 154) /defconfig
ba77dca584f5a (Paul Menzel 2020-07-02 13:12:00 +0200 155)
dfe0487249e57 (Boaz Harrosh 2014-11-25 18:42:54 +0200 156) # Kdevelop4
dfe0487249e57 (Boaz Harrosh 2014-11-25 18:42:54 +0200 157) *.kdev4
26c4c71bcd9a9 (Toru Komatsu 2019-07-24 09:22:33 +0900 158)
26c4c71bcd9a9 (Toru Komatsu 2019-07-24 09:22:33 +0900 159) # Clang's compilation database file
26c4c71bcd9a9 (Toru Komatsu 2019-07-24 09:22:33 +0900 160) /compile_commands.json
f6236efced85b (Mauro Carvalho Chehab 2020-09-09 16:10:32 +0200 161)
f6236efced85b (Mauro Carvalho Chehab 2020-09-09 16:10:32 +0200 162) # Documentation toolchain
f6236efced85b (Mauro Carvalho Chehab 2020-09-09 16:10:32 +0200 163) sphinx_*/