blob: 37f71c275c36cebe568c03e3354c7d345b822dd2 [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +01001#
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#
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +09006# Normal rules (sorted alphabetically)
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +01007#
Masahiro Yamadaea531e32014-02-04 17:24:08 +09008.*
Maxim Cournoyer4c590782023-01-13 08:50:50 -05009!.checkpatch.conf
Masahiro Yamadaea531e32014-02-04 17:24:08 +090010*.a
Dario Binacchi8190d5a2019-12-29 13:47:32 +010011*.asn1.[ch]
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090012*.bin
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020013*.bin[_.]*
Baruch Siach421be6f2018-06-21 09:03:00 +030014*.cfgout
Andrey Zhizhikin101a0f72022-06-07 10:13:00 +020015*.cover
Masahiro Yamada28b538b2018-06-11 16:21:50 +090016*.dtb
Michal Simek0a857302019-02-21 07:48:54 +010017*.dtbo
Masahiro Yamada28b538b2018-06-11 16:21:50 +090018*.dtb.S
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090019*.elf
20*.exe
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020021*.fit
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090022*.gcda
23*.gcno
Masahiro Yamadaea531e32014-02-04 17:24:08 +090024*.i
Michael Trimarchid25a2d32019-11-09 20:13:57 +010025*.img
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020026*.itb
Eugeniu Roscae91610d2018-05-19 14:13:50 +020027*.lex.c
Masahiro Yamadaea531e32014-02-04 17:24:08 +090028*.lst
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020029*.map
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090030*.mod.c
Andrey Zhizhikin101a0f72022-06-07 10:13:00 +020031*.mbx
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090032*.o
33*.o.*
Masahiro Yamadaea531e32014-02-04 17:24:08 +090034*.order
Masahiro Yamadaea531e32014-02-04 17:24:08 +090035*.patch
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020036*.pem
Masahiro Yamada3eb0fa42018-06-11 16:21:49 +090037*.s
38*.su
39*.swp
Eugeniu Roscae91610d2018-05-19 14:13:50 +020040*.tab.[ch]
Andrea Calabrese25fd6a32024-04-17 18:24:34 +020041*.ti-*
Timo Ketola5941a612012-04-11 23:33:49 +000042# Build tree
Rong Tao06e00f52023-09-04 10:50:04 +080043/build*
Timo Ketola5941a612012-04-11 23:33:49 +000044
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010045#
46# Top-level generic files
47#
Vagrant Cascadianc6833e72019-05-02 11:14:10 -070048fit-dtb.blob*
Justin Waters341d2c02013-07-11 09:55:01 -040049/MLO*
Sven Ebenfeld1f6a6642016-11-06 16:37:58 +010050/SPL*
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010051/System.map
Masahiro Yamadaa2580eb2014-07-30 14:08:20 +090052/boards.cfg
John Clark801c4822023-10-13 13:26:16 +000053/mkimage-in-simple-bin*
54/simple-bin*
55/u-boot*
Baruch Siach71d8e1b2019-04-18 10:46:58 +030056/*.log
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010057
58#
Masahiro Yamadaea531e32014-02-04 17:24:08 +090059# git files that we don't want to ignore even it they are dot-files
60#
61!.gitignore
62!.mailmap
Tom Rini2940b522023-08-07 09:20:53 -040063!.get_maintainer.*
Masahiro Yamadaea531e32014-02-04 17:24:08 +090064
65#
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010066# Generated files
67#
Masahiro Yamadac7163082014-06-09 15:14:11 +090068/spl/
Masahiro Yamada93f70df2013-11-26 18:05:45 +090069/tpl/
Bin Meng01124322015-07-31 00:24:39 -070070/defconfig
Sam Protsenko56041aa2024-03-07 21:38:22 -060071/generated_defconfig
Sughosh Ganucdf1e452024-03-27 16:19:01 +053072/Test*
73/capsule.*.efi-capsule
74/capsule*.map
Robert Markoebe91042024-04-23 13:05:40 +020075/keep-syms-lto.*
Masahiro Yamada93f70df2013-11-26 18:05:45 +090076
Masahiro Yamada1f659b22014-03-10 10:47:19 +090077#
78# Generated include files
79#
John Clark801c4822023-10-13 13:26:16 +000080/include/autoconf.mk*
81/include/config.h
Masahiro Yamada1f659b22014-03-10 10:47:19 +090082/include/config/
Wolfgang Denk16a354f2010-10-26 00:08:35 +020083/include/generated/
Wolfgang Denk16a354f2010-10-26 00:08:35 +020084
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010085# stgit generated dirs
86patches-*
Jean-Christophe PLAGNIOL-VILLARD51ecde92008-04-12 14:08:45 +020087.stgit-edit.txt
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010088
89# quilt's files
90patches
91series
92
Mike Frysingerbfa0af62008-11-02 01:18:18 -040093# gdb files
94.gdb_history
95
Jean-Christophe PLAGNIOL-VILLARDa2df4da2007-12-09 11:01:10 +010096# cscope files
97cscope.*
Stefan Roesef2302d42008-08-06 14:05:38 +020098
Markus Heidelberg650632f2008-09-09 17:31:46 +020099# tags files
Po-Yu Chuang082becd2009-07-10 18:25:34 +0800100/tags
Markus Heidelberg650632f2008-09-09 17:31:46 +0200101/ctags
102/etags
103
Masahiro Yamada1dbdc762013-05-12 18:14:05 +0000104# gnu global files
105GPATH
106GRTAGS
107GSYMS
108GTAGS
Masahiro Yamadaea531e32014-02-04 17:24:08 +0900109
110*.orig
111*~
112\#*#
Simon Glass0d5adda2020-07-09 18:39:25 -0600113
114# Python cache
115__pycache__
Simon Glassf0198f72021-11-21 20:48:36 -0700116
117# Python code coverage output (python3-coverage html)
118/htmlcov/
Simon Glassfeafc612021-11-21 20:48:40 -0700119
120# pylint files
121/pylint.cur
122/pylint.out/
Simon Glass41cd6fa2023-01-15 14:15:38 -0700123
Simon Glass51963792023-09-23 13:44:15 -0600124# qconfig database
125/qconfig.db
Joao Marcos Costab703bda2023-10-01 12:00:33 +0200126
127# Clang's compilation database file
128/compile_commands.json