.gitignore 1.47 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 33
*.ll
*.lst
*.lz4
*.lzma
*.lzo
*.mod.c
34
*.o
Alexey Dobriyan's avatar
Alexey Dobriyan committed
35
*.o.*
36 37
*.order
*.patch
38
*.s
39
*.so
40
*.so.dbg
41
*.su
42
*.symtypes
43
*.tab.[ch]
44
*.tar
45
*.xz
46
Module.symvers
47
modules.builtin
48 49 50 51

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

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

67 68 69 70 71
#
# Debian directory (make deb-pkg)
#
/debian/

72 73 74 75 76
#
# Snap directory (make snap-pkg)
#
/snap/

77 78 79 80 81
#
# tar directory (make tar*-pkg)
#
/tar-install/

82
#
DrZix's avatar
DrZix committed
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 92 93

#
# Generated include files
#
include/config
94
include/generated
95
include/ksym
96
arch/*/include/generated
97

98 99
# stgit generated dirs
patches-*
100 101 102 103

# quilt's files
patches
series
104 105 106

# cscope files
cscope.*
107
ncscope.*
Alexey Dobriyan's avatar
Alexey Dobriyan committed
108

109 110 111 112 113 114
# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

115 116 117
# id-utils files
ID

Alexey Dobriyan's avatar
Alexey Dobriyan committed
118
*.orig
119 120
*~
\#*#
121 122 123 124 125

#
# Leavings from module signing
#
extra_certificates
126
signing_key.pem
127 128 129
signing_key.priv
signing_key.x509
x509.genkey
130 131 132

# Kconfig presets
all.config
133 134 135

# Kdevelop4
*.kdev4