xref: /openbmc/linux/.gitignore (revision 0c7beb2d)
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
62#
63# RPM spec file (make rpm-pkg)
64#
65/*.spec
66
67#
68# Debian directory (make deb-pkg)
69#
70/debian/
71
72#
73# Snap directory (make snap-pkg)
74#
75/snap/
76
77#
78# tar directory (make tar*-pkg)
79#
80/tar-install/
81
82#
83# git files that we don't want to ignore even if they are dot-files
84#
85!.gitignore
86!.mailmap
87!.cocciconfig
88!.clang-format
89
90#
91# Generated include files
92#
93include/config
94include/generated
95include/ksym
96arch/*/include/generated
97
98# stgit generated dirs
99patches-*
100
101# quilt's files
102patches
103series
104
105# cscope files
106cscope.*
107ncscope.*
108
109# gnu global files
110GPATH
111GRTAGS
112GSYMS
113GTAGS
114
115# id-utils files
116ID
117
118*.orig
119*~
120\#*#
121
122#
123# Leavings from module signing
124#
125extra_certificates
126signing_key.pem
127signing_key.priv
128signing_key.x509
129x509.genkey
130
131# Kconfig presets
132all.config
133
134# Kdevelop4
135*.kdev4
136