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

#
# Top-level generic files
#
54 55 56 57
/tags
/TAGS
/linux
/vmlinux
58
/vmlinux.32
59
/vmlinux-gdb.py
60 61 62
/vmlinuz
/System.map
/Module.markers
63
/modules.builtin.modinfo
64

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

70 71 72 73 74
#
# Debian directory (make deb-pkg)
#
/debian/

75 76 77 78 79
#
# Snap directory (make snap-pkg)
#
/snap/

80 81 82 83 84
#
# tar directory (make tar*-pkg)
#
/tar-install/

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

#
# Generated include files
#
98 99 100 101
/include/config/
/include/generated/
/include/ksym/
/arch/*/include/generated/
102

103 104
# stgit generated dirs
patches-*
105 106 107 108

# quilt's files
patches
series
109 110 111

# cscope files
cscope.*
J
Jike Song 已提交
112
ncscope.*
A
Alexey Dobriyan 已提交
113

114 115 116 117 118 119
# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

120 121 122
# id-utils files
ID

A
Alexey Dobriyan 已提交
123
*.orig
124 125
*~
\#*#
126 127 128 129 130

#
# Leavings from module signing
#
extra_certificates
131
signing_key.pem
132 133 134
signing_key.priv
signing_key.x509
x509.genkey
135 136

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

# Kdevelop4
*.kdev4
146 147 148

# Clang's compilation database file
/compile_commands.json