.gitignore 1.8 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2
3
4
5
6
7
8
9
10
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
11
# Normal rules (sorted alphabetically)
12
13
#
.*
14
*.a
15
*.asn1.[ch]
16
17
18
*.bin
*.bz2
*.c.[012]*.*
19
*.dt.yaml
20
21
22
23
24
25
26
27
*.dtb
*.dtb.S
*.dwo
*.elf
*.gcno
*.gz
*.i
*.ko
28
*.lex.c
29
30
31
32
33
*.ll
*.lst
*.lz4
*.lzma
*.lzo
34
*.mod
35
*.mod.c
36
37
*.o
*.o.*
38
*.patch
39
40
41
*.s
*.so
*.so.dbg
42
*.su
43
*.symtypes
44
*.tab.[ch]
45
46
47
*.tar
*.xz
Module.symvers
48
modules.builtin
49
modules.order
50
51
52
53
54
55
56
57
58

#
# Top-level generic files
#
/tags
/TAGS
/linux
/vmlinux
/vmlinux.32
59
/vmlinux.symvers
60
61
62
63
/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers
64
/modules.builtin.modinfo
65
/modules.nsdeps
66

67
68
69
70
71
#
# RPM spec file (make rpm-pkg)
#
/*.spec

72
73
74
75
76
#
# Debian directory (make deb-pkg)
#
/debian/

77
78
79
80
81
#
# Snap directory (make snap-pkg)
#
/snap/

82
83
84
85
86
87
#
# tar directory (make tar*-pkg)
#
/tar-install/

#
88
# We don't want to ignore the following even if they are dot-files
89
#
90
91
92
93
!.clang-format
!.cocciconfig
!.get_maintainer.ignore
!.gitattributes
94
95
96
97
98
99
!.gitignore
!.mailmap

#
# Generated include files
#
100
101
102
103
/include/config/
/include/generated/
/include/ksym/
/arch/*/include/generated/
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
ncscope.*

# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

# id-utils files
ID

*.orig
*~
\#*#

#
# Leavings from module signing
#
extra_certificates
signing_key.pem
signing_key.priv
signing_key.x509
x509.genkey

# Kconfig presets
139
140
141
142
143
144
/all.config
/alldef.config
/allmod.config
/allno.config
/allrandom.config
/allyes.config
145

146
147
148
# Kconfig savedefconfig output
/defconfig

149
150
# Kdevelop4
*.kdev4
151
152
153

# Clang's compilation database file
/compile_commands.json