xref: /openbmc/linux/.gitignore (revision 5cc12472)
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*.xz
49*.zst
50Module.symvers
51modules.builtin
52modules.order
53
54#
55# Top-level generic files
56#
57/tags
58/TAGS
59/linux
60/vmlinux
61/vmlinux.32
62/vmlinux.map
63/vmlinux.symvers
64/vmlinux-gdb.py
65/vmlinuz
66/System.map
67/Module.markers
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# cscope files
117cscope.*
118ncscope.*
119
120# gnu global files
121GPATH
122GRTAGS
123GSYMS
124GTAGS
125
126# id-utils files
127ID
128
129*.orig
130*~
131\#*#
132
133#
134# Leavings from module signing
135#
136extra_certificates
137signing_key.pem
138signing_key.priv
139signing_key.x509
140x509.genkey
141
142# Kconfig presets
143/all.config
144/alldef.config
145/allmod.config
146/allno.config
147/allrandom.config
148/allyes.config
149
150# Kconfig savedefconfig output
151/defconfig
152
153# Kdevelop4
154*.kdev4
155
156# Clang's compilation database file
157/compile_commands.json
158
159# Documentation toolchain
160sphinx_*/
161