xref: /openbmc/linux/.gitignore (revision 12cecbf9)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# NOTE! Don't add files that are generated in specific
4# subdirectories here. Add them in the ".gitignore" file
5# in that subdirectory instead.
6#
7# NOTE! Please use 'git ls-files -i --exclude-standard'
8# command after changing this file, to see if there are
9# any tracked files which get ignored after the change.
10#
11# Normal rules (sorted alphabetically)
12#
13.*
14*.a
15*.asn1.[ch]
16*.bin
17*.bz2
18*.c.[012]*.*
19*.dt.yaml
20*.dtb
21*.dtbo
22*.dtb.S
23*.dwo
24*.elf
25*.gcno
26*.gz
27*.i
28*.ko
29*.lex.c
30*.ll
31*.lst
32*.lz4
33*.lzma
34*.lzo
35*.mod
36*.mod.c
37*.o
38*.o.*
39*.patch
40*.s
41*.so
42*.so.dbg
43*.su
44*.symtypes
45*.symversions
46*.tab.[ch]
47*.tar
48*.usyms
49*.xz
50*.zst
51Module.symvers
52modules.order
53
54#
55# Top-level generic files
56#
57/linux
58/modules-only.symvers
59/vmlinux
60/vmlinux.32
61/vmlinux.map
62/vmlinux.symvers
63/vmlinux-gdb.py
64/vmlinuz
65/System.map
66/Module.markers
67/modules.builtin
68/modules.builtin.modinfo
69/modules.nsdeps
70
71#
72# RPM spec file (make rpm-pkg)
73#
74/*.spec
75
76#
77# Debian directory (make deb-pkg)
78#
79/debian/
80
81#
82# Snap directory (make snap-pkg)
83#
84/snap/
85
86#
87# tar directory (make tar*-pkg)
88#
89/tar-install/
90
91#
92# We don't want to ignore the following even if they are dot-files
93#
94!.clang-format
95!.cocciconfig
96!.get_maintainer.ignore
97!.gitattributes
98!.gitignore
99!.mailmap
100
101#
102# Generated include files
103#
104/include/config/
105/include/generated/
106/include/ksym/
107/arch/*/include/generated/
108
109# stgit generated dirs
110patches-*
111
112# quilt's files
113patches
114series
115
116# ctags files
117tags
118TAGS
119
120# cscope files
121cscope.*
122ncscope.*
123
124# gnu global files
125GPATH
126GRTAGS
127GSYMS
128GTAGS
129
130# id-utils files
131ID
132
133*.orig
134*~
135\#*#
136
137#
138# Leavings from module signing
139#
140extra_certificates
141signing_key.pem
142signing_key.priv
143signing_key.x509
144x509.genkey
145
146# Kconfig presets
147/all.config
148/alldef.config
149/allmod.config
150/allno.config
151/allrandom.config
152/allyes.config
153
154# Kconfig savedefconfig output
155/defconfig
156
157# Kdevelop4
158*.kdev4
159
160# Clang's compilation database file
161/compile_commands.json
162
163# Documentation toolchain
164sphinx_*/
165