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