Merge branch 'next' into for-linus
[platform/kernel/linux-starfive.git] / .gitignore
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # NOTE! Don't add files that are generated in specific
4 # subdirectories here. Add them in the ".gitignore" file
5 # in that subdirectory instead.
6 #
7 # NOTE! Please use 'git ls-files -i --exclude-standard'
8 # command after changing this file, to see if there are
9 # any tracked files which get ignored after the change.
10 #
11 # Normal rules (sorted alphabetically)
12 #
13 .*
14 *.a
15 *.asn1.[ch]
16 *.bin
17 *.bz2
18 *.c.[012]*.*
19 *.dt.yaml
20 *.dtb
21 *.dtbo
22 *.dtb.S
23 *.dwo
24 *.elf
25 *.gcno
26 *.gz
27 *.i
28 *.ko
29 *.lex.c
30 *.ll
31 *.lst
32 *.lz4
33 *.lzma
34 *.lzo
35 *.mod
36 *.mod.c
37 *.o
38 *.o.*
39 *.patch
40 *.s
41 *.so
42 *.so.dbg
43 *.su
44 *.symtypes
45 *.symversions
46 *.tab.[ch]
47 *.tar
48 *.xz
49 *.zst
50 Module.symvers
51 modules.builtin
52 modules.order
53
54 #
55 # Top-level generic files
56 #
57 /tags
58 /TAGS
59 /linux
60 /vmlinux
61 /vmlinux.32
62 /vmlinux.symvers
63 /vmlinux-gdb.py
64 /vmlinuz
65 /System.map
66 /Module.markers
67 /modules.builtin.modinfo
68 /modules.nsdeps
69
70 #
71 # RPM spec file (make rpm-pkg)
72 #
73 /*.spec
74
75 #
76 # Debian directory (make deb-pkg)
77 #
78 /debian/
79
80 #
81 # Snap directory (make snap-pkg)
82 #
83 /snap/
84
85 #
86 # tar directory (make tar*-pkg)
87 #
88 /tar-install/
89
90 #
91 # We don't want to ignore the following even if they are dot-files
92 #
93 !.clang-format
94 !.cocciconfig
95 !.get_maintainer.ignore
96 !.gitattributes
97 !.gitignore
98 !.mailmap
99
100 #
101 # Generated include files
102 #
103 /include/config/
104 /include/generated/
105 /include/ksym/
106 /arch/*/include/generated/
107
108 # stgit generated dirs
109 patches-*
110
111 # quilt's files
112 patches
113 series
114
115 # cscope files
116 cscope.*
117 ncscope.*
118
119 # gnu global files
120 GPATH
121 GRTAGS
122 GSYMS
123 GTAGS
124
125 # id-utils files
126 ID
127
128 *.orig
129 *~
130 \#*#
131
132 #
133 # Leavings from module signing
134 #
135 extra_certificates
136 signing_key.pem
137 signing_key.priv
138 signing_key.x509
139 x509.genkey
140
141 # Kconfig presets
142 /all.config
143 /alldef.config
144 /allmod.config
145 /allno.config
146 /allrandom.config
147 /allyes.config
148
149 # Kconfig savedefconfig output
150 /defconfig
151
152 # Kdevelop4
153 *.kdev4
154
155 # Clang's compilation database file
156 /compile_commands.json
157
158 # Documentation toolchain
159 sphinx_*/