xref: /openbmc/linux/.gitignore (revision df0e68c1)
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.order
52
53#
54# Top-level generic files
55#
56/linux
57/modules-only.symvers
58/vmlinux
59/vmlinux.32
60/vmlinux.map
61/vmlinux.symvers
62/vmlinux-gdb.py
63/vmlinuz
64/System.map
65/Module.markers
66/modules.builtin
67/modules.builtin.modinfo
68/modules.nsdeps
69
70#
71# RPM spec file (make rpm-pkg)
72#
73/*.spec
74
75#
76# Debian directory (make deb-pkg)
77#
78/debian/
79
80#
81# Snap directory (make snap-pkg)
82#
83/snap/
84
85#
86# tar directory (make tar*-pkg)
87#
88/tar-install/
89
90#
91# We don't want to ignore the following even if they are dot-files
92#
93!.clang-format
94!.cocciconfig
95!.get_maintainer.ignore
96!.gitattributes
97!.gitignore
98!.mailmap
99
100#
101# Generated include files
102#
103/include/config/
104/include/generated/
105/include/ksym/
106/arch/*/include/generated/
107
108# stgit generated dirs
109patches-*
110
111# quilt's files
112patches
113series
114
115# ctags files
116tags
117TAGS
118
119# cscope files
120cscope.*
121ncscope.*
122
123# gnu global files
124GPATH
125GRTAGS
126GSYMS
127GTAGS
128
129# id-utils files
130ID
131
132*.orig
133*~
134\#*#
135
136#
137# Leavings from module signing
138#
139extra_certificates
140signing_key.pem
141signing_key.priv
142signing_key.x509
143x509.genkey
144
145# Kconfig presets
146/all.config
147/alldef.config
148/allmod.config
149/allno.config
150/allrandom.config
151/allyes.config
152
153# Kconfig savedefconfig output
154/defconfig
155
156# Kdevelop4
157*.kdev4
158
159# Clang's compilation database file
160/compile_commands.json
161
162# Documentation toolchain
163sphinx_*/
164