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