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