.gitignore 1.46 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 19
*.dtb
*.dtb.S
20 21 22 23 24 25
*.dwo
*.elf
*.gcno
*.gz
*.i
*.ko
26
*.lex.c
27 28 29 30 31 32
*.ll
*.lst
*.lz4
*.lzma
*.lzo
*.mod.c
33
*.o
Alexey Dobriyan's avatar
Alexey Dobriyan committed
34
*.o.*
35 36
*.order
*.patch
37
*.s
38
*.so
39
*.so.dbg
40
*.su
41
*.symtypes
42
*.tab.[ch]
43
*.tar
44
*.xz
45
Module.symvers
46
modules.builtin
47 48 49 50

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

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

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

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

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

81
#
Kyeongmin Cho's avatar
Kyeongmin Cho committed
82
# git files that we don't want to ignore even if they are dot-files
83
#
84
!.gitignore
85
!.mailmap
86
!.cocciconfig
87
!.clang-format
88 89 90 91 92

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

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

# quilt's files
patches
series
103 104 105

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

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

114 115 116
# id-utils files
ID

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

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

# Kconfig presets
all.config
132 133 134

# Kdevelop4
*.kdev4