driver core: move sysfs_dev_char_kobj out of class.h
[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 -c --exclude-per-directory=.gitignore'
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 *.cover
20 *.dt.yaml
21 *.dtb
22 *.dtbo
23 *.dtb.S
24 *.dtbo.S
25 *.dwo
26 *.elf
27 *.gcno
28 *.gz
29 *.i
30 *.ko
31 *.lex.c
32 *.ll
33 *.lst
34 *.lz4
35 *.lzma
36 *.lzo
37 *.mbx
38 *.mod
39 *.mod.c
40 *.o
41 *.o.*
42 *.patch
43 *.rmeta
44 *.rpm
45 *.rsi
46 *.s
47 *.so
48 *.so.dbg
49 *.su
50 *.symtypes
51 *.symversions
52 *.tab.[ch]
53 *.tar
54 *.usyms
55 *.xz
56 *.zst
57 Module.symvers
58 modules.order
59
60 #
61 # Top-level generic files
62 #
63 /linux
64 /modules-only.symvers
65 /vmlinux
66 /vmlinux.32
67 /vmlinux.map
68 /vmlinux.symvers
69 /vmlinux-gdb.py
70 /vmlinuz
71 /System.map
72 /Module.markers
73 /modules.builtin
74 /modules.builtin.modinfo
75 /modules.nsdeps
76
77 #
78 # RPM spec file (make rpm-pkg)
79 #
80 /*.spec
81
82 #
83 # Debian directory (make deb-pkg)
84 #
85 /debian/
86
87 #
88 # Snap directory (make snap-pkg)
89 #
90 /snap/
91
92 #
93 # tar directory (make tar*-pkg)
94 #
95 /tar-install/
96
97 #
98 # We don't want to ignore the following even if they are dot-files
99 #
100 !.clang-format
101 !.cocciconfig
102 !.get_maintainer.ignore
103 !.gitattributes
104 !.gitignore
105 !.mailmap
106 !.rustfmt.toml
107
108 #
109 # Generated include files
110 #
111 /include/config/
112 /include/generated/
113 /include/ksym/
114 /arch/*/include/generated/
115
116 # stgit generated dirs
117 patches-*
118
119 # quilt's files
120 patches
121 series
122
123 # ctags files
124 tags
125 TAGS
126
127 # cscope files
128 cscope.*
129 ncscope.*
130
131 # gnu global files
132 GPATH
133 GRTAGS
134 GSYMS
135 GTAGS
136
137 # id-utils files
138 ID
139
140 *.orig
141 *~
142 \#*#
143
144 #
145 # Leavings from module signing
146 #
147 extra_certificates
148 signing_key.pem
149 signing_key.priv
150 signing_key.x509
151 x509.genkey
152
153 # Kconfig presets
154 /all.config
155 /alldef.config
156 /allmod.config
157 /allno.config
158 /allrandom.config
159 /allyes.config
160
161 # Kconfig savedefconfig output
162 /defconfig
163
164 # Kdevelop4
165 *.kdev4
166
167 # Clang's compilation database file
168 /compile_commands.json
169
170 # Documentation toolchain
171 sphinx_*/
172
173 # Rust analyzer configuration
174 /rust-project.json