xref: /openbmc/linux/.gitignore (revision 132db935)
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*.dtb.S
22*.dwo
23*.elf
24*.gcno
25*.gz
26*.i
27*.ko
28*.lex.c
29*.ll
30*.lst
31*.lz4
32*.lzma
33*.lzo
34*.mod
35*.mod.c
36*.o
37*.o.*
38*.patch
39*.s
40*.so
41*.so.dbg
42*.su
43*.symtypes
44*.tab.[ch]
45*.tar
46*.xz
47Module.symvers
48modules.builtin
49modules.order
50
51#
52# Top-level generic files
53#
54/tags
55/TAGS
56/linux
57/vmlinux
58/vmlinux.32
59/vmlinux.symvers
60/vmlinux-gdb.py
61/vmlinuz
62/System.map
63/Module.markers
64/modules.builtin.modinfo
65/modules.nsdeps
66
67#
68# RPM spec file (make rpm-pkg)
69#
70/*.spec
71
72#
73# Debian directory (make deb-pkg)
74#
75/debian/
76
77#
78# Snap directory (make snap-pkg)
79#
80/snap/
81
82#
83# tar directory (make tar*-pkg)
84#
85/tar-install/
86
87#
88# We don't want to ignore the following even if they are dot-files
89#
90!.clang-format
91!.cocciconfig
92!.get_maintainer.ignore
93!.gitattributes
94!.gitignore
95!.mailmap
96
97#
98# Generated include files
99#
100/include/config/
101/include/generated/
102/include/ksym/
103/arch/*/include/generated/
104
105# stgit generated dirs
106patches-*
107
108# quilt's files
109patches
110series
111
112# cscope files
113cscope.*
114ncscope.*
115
116# gnu global files
117GPATH
118GRTAGS
119GSYMS
120GTAGS
121
122# id-utils files
123ID
124
125*.orig
126*~
127\#*#
128
129#
130# Leavings from module signing
131#
132extra_certificates
133signing_key.pem
134signing_key.priv
135signing_key.x509
136x509.genkey
137
138# Kconfig presets
139/all.config
140/alldef.config
141/allmod.config
142/allno.config
143/allrandom.config
144/allyes.config
145
146# Kdevelop4
147*.kdev4
148
149# Clang's compilation database file
150/compile_commands.json
151