.gitignore 1.68 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
*.o
Alexey Dobriyan's avatar
Alexey Dobriyan committed
36
*.o.*
37 38
*.order
*.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 50 51 52

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

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

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

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

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

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

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

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

# quilt's files
patches
series
108 109 110

# cscope files
cscope.*
111
ncscope.*
Alexey Dobriyan's avatar
Alexey Dobriyan committed
112

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

119 120 121
# id-utils files
ID

Alexey Dobriyan's avatar
Alexey Dobriyan committed
122
*.orig
123 124
*~
\#*#
125 126 127 128 129

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

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

# Kdevelop4
*.kdev4
145 146 147

# Clang's compilation database file
/compile_commands.json