blob: 870c3f181904e12cf80a0844c333d050f6a0dd7b [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-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 Yamada6cd0f712018-06-11 16:21:49 +09006# Normal rules (sorted alphabetically)
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +01007#
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +09008.*
Maxim Cournoyer40239642023-01-13 08:50:50 -05009!.checkpatch.conf
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090010*.a
Dario Binacchi88ef7c72019-12-29 13:47:32 +010011*.asn1.[ch]
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090012*.bin
Andrea Calabreseee51ea42024-04-17 18:24:34 +020013*.bin[_.]*
Baruch Siach52c94862018-06-21 09:03:00 +030014*.cfgout
Andrey Zhizhikina299fe12022-06-07 10:13:00 +020015*.cover
Masahiro Yamadab2909562018-06-11 16:21:50 +090016*.dtb
Michal Simek9a1deeb2019-02-21 07:48:54 +010017*.dtbo
Masahiro Yamadab2909562018-06-11 16:21:50 +090018*.dtb.S
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090019*.elf
20*.exe
Andrea Calabreseee51ea42024-04-17 18:24:34 +020021*.fit
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090022*.gcda
23*.gcno
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090024*.i
Michael Trimarchi61996262019-11-09 20:13:57 +010025*.img
Andrea Calabreseee51ea42024-04-17 18:24:34 +020026*.itb
Eugeniu Roscad57dd942018-05-19 14:13:50 +020027*.lex.c
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090028*.lst
Andrea Calabreseee51ea42024-04-17 18:24:34 +020029*.map
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090030*.mod.c
Andrey Zhizhikina299fe12022-06-07 10:13:00 +020031*.mbx
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090032*.o
33*.o.*
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090034*.order
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090035*.patch
Andrea Calabreseee51ea42024-04-17 18:24:34 +020036*.pem
Masahiro Yamada6cd0f712018-06-11 16:21:49 +090037*.s
38*.su
39*.swp
Eugeniu Roscad57dd942018-05-19 14:13:50 +020040*.tab.[ch]
Andrea Calabreseee51ea42024-04-17 18:24:34 +020041*.ti-*
Timo Ketola88760df2012-04-11 23:33:49 +000042# Build tree
Rong Tao8c6ab862023-09-04 10:50:04 +080043/build*
Timo Ketola88760df2012-04-11 23:33:49 +000044
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010045#
46# Top-level generic files
47#
Vagrant Cascadian9c94f502019-05-02 11:14:10 -070048fit-dtb.blob*
Justin Waters10777ac2013-07-11 09:55:01 -040049/MLO*
Sven Ebenfeld9964ebd2016-11-06 16:37:58 +010050/SPL*
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010051/System.map
Masahiro Yamada16329f52014-07-30 14:08:20 +090052/boards.cfg
John Clark313a4852023-10-13 13:26:16 +000053/mkimage-in-simple-bin*
54/simple-bin*
55/u-boot*
Baruch Siachf1cb4d62019-04-18 10:46:58 +030056/*.log
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010057
58#
Masahiro Yamadaf6c1d012014-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 Rini707a35f2023-08-07 09:20:53 -040063!.get_maintainer.*
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +090064
65#
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010066# Generated files
67#
Masahiro Yamada1252d202014-06-09 15:14:11 +090068/spl/
Masahiro Yamada55f5d8a2013-11-26 18:05:45 +090069/tpl/
Bin Meng6b94c422015-07-31 00:24:39 -070070/defconfig
Sam Protsenko55fe2742024-03-07 21:38:22 -060071/generated_defconfig
Sughosh Ganu04ebd682024-03-27 16:19:01 +053072/Test*
73/capsule.*.efi-capsule
74/capsule*.map
Masahiro Yamada55f5d8a2013-11-26 18:05:45 +090075
Masahiro Yamadab3ab82a2014-03-10 10:47:19 +090076#
77# Generated include files
78#
John Clark313a4852023-10-13 13:26:16 +000079/include/autoconf.mk*
80/include/config.h
Masahiro Yamadab3ab82a2014-03-10 10:47:19 +090081/include/config/
Wolfgang Denk81aa2eb2010-10-26 00:08:35 +020082/include/generated/
Wolfgang Denk81aa2eb2010-10-26 00:08:35 +020083
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010084# stgit generated dirs
85patches-*
Jean-Christophe PLAGNIOL-VILLARDf4fe3482008-04-12 14:08:45 +020086.stgit-edit.txt
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010087
88# quilt's files
89patches
90series
91
Mike Frysinger633ae782008-11-02 01:18:18 -040092# gdb files
93.gdb_history
94
Jean-Christophe PLAGNIOL-VILLARD7a2bb682007-12-09 11:01:10 +010095# cscope files
96cscope.*
Stefan Roese37628252008-08-06 14:05:38 +020097
Markus Heidelberg18e33d22008-09-09 17:31:46 +020098# tags files
Po-Yu Chuangbc00f402009-07-10 18:25:34 +080099/tags
Markus Heidelberg18e33d22008-09-09 17:31:46 +0200100/ctags
101/etags
102
Masahiro Yamadac15771a2013-05-12 18:14:05 +0000103# gnu global files
104GPATH
105GRTAGS
106GSYMS
107GTAGS
Masahiro Yamadaf6c1d012014-02-04 17:24:08 +0900108
109*.orig
110*~
111\#*#
Simon Glass0c66c082020-07-09 18:39:25 -0600112
113# Python cache
114__pycache__
Simon Glass890d8482021-11-21 20:48:36 -0700115
116# Python code coverage output (python3-coverage html)
117/htmlcov/
Simon Glass8724dfc2021-11-21 20:48:40 -0700118
119# pylint files
120/pylint.cur
121/pylint.out/
Simon Glass1cada182023-01-15 14:15:38 -0700122
Simon Glass8a372032023-09-23 13:44:15 -0600123# qconfig database
124/qconfig.db
Joao Marcos Costa8436b1a2023-10-01 12:00:33 +0200125
126# Clang's compilation database file
127/compile_commands.json