Blame view

.gitignore 1.91 KB
d198b34f3   Masahiro Yamada   .gitignore: add S...
1
  # SPDX-License-Identifier: GPL-2.0-only
1e65174a3   Linus Torvalds   Add some basic .g...
2
3
4
5
6
  #
  # NOTE! Don't add files that are generated in specific
  # subdirectories here. Add them in the ".gitignore" file
  # in that subdirectory instead.
  #
ff2f5ff0c   Matt Kraai   trivial: Remove t...
7
  # NOTE! Please use 'git ls-files -i --exclude-standard'
f72e9df0e   Eduard - Gabriel Munteanu   Fix and clean top...
8
9
10
  # command after changing this file, to see if there are
  # any tracked files which get ignored after the change.
  #
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
11
  # Normal rules (sorted alphabetically)
1e65174a3   Linus Torvalds   Add some basic .g...
12
13
  #
  .*
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
14
  *.a
4fa8bc949   Masahiro Yamada   kbuild: rename *-...
15
  *.asn1.[ch]
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
16
17
18
  *.bin
  *.bz2
  *.c.[012]*.*
4f0e3a57d   Rob Herring   kbuild: Add suppo...
19
  *.dt.yaml
10b62a2f7   Masahiro Yamada   .gitignore: move ...
20
  *.dtb
ce88c9c79   Viresh Kumar   kbuild: Add suppo...
21
  *.dtbo
10b62a2f7   Masahiro Yamada   .gitignore: move ...
22
  *.dtb.S
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
23
24
25
26
27
28
  *.dwo
  *.elf
  *.gcno
  *.gz
  *.i
  *.ko
598893002   Masahiro Yamada   .gitignore: move ...
29
  *.lex.c
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
30
31
32
33
34
  *.ll
  *.lst
  *.lz4
  *.lzma
  *.lzo
b7dca6dd1   Masahiro Yamada   kbuild: create *....
35
  *.mod
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
36
  *.mod.c
1e65174a3   Linus Torvalds   Add some basic .g...
37
  *.o
96918a35a   Alexey Dobriyan   .gitignore update
38
  *.o.*
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
39
  *.patch
1e65174a3   Linus Torvalds   Add some basic .g...
40
  *.s
20ede2741   Brian Gerst   gitignore: ignore...
41
  *.so
f322727b9   Thomas Gleixner   x86: update .giti...
42
  *.so.dbg
1377dd3e2   Masahiro Yamada   .gitignore: sort ...
43
  *.su
ac3b719cc   Josh Triplett   [PATCH] Add symbo...
44
  *.symtypes
38e891849   Sami Tolvanen   kbuild: lto: fix ...
45
  *.symversions
598893002   Masahiro Yamada   .gitignore: move ...
46
  *.tab.[ch]
f4ae94972   Andrey Skvortsov   .gitignore: ignor...
47
  *.tar
790e10ba6   Romain Francoise   .gitignore: ignor...
48
  *.xz
6f3decaba   Adam Borowski   .gitignore: Add Z...
49
  *.zst
082722a0f   Zhao, Gang   .gitignore: ignor...
50
  Module.symvers
a564bdeb5   Masahiro Yamada   .gitignore: ignor...
51
  modules.order
1e65174a3   Linus Torvalds   Add some basic .g...
52
53
54
55
  
  #
  # Top-level generic files
  #
6db823cf4   Linus Torvalds   Fix up .gitignore...
56
  /linux
69bc8d386   Masahiro Yamada   kbuild: generate ...
57
  /modules-only.symvers
6db823cf4   Linus Torvalds   Fix up .gitignore...
58
  /vmlinux
d0fe116b4   Florian Fainelli   gitignore: Add MI...
59
  /vmlinux.32
5cc124720   Rasmus Villemoes   kbuild: add CONFI...
60
  /vmlinux.map
269a535ca   Masahiro Yamada   modpost: generate...
61
  /vmlinux.symvers
2478a8a15   Daniel Thompson   scripts/gdb: igno...
62
  /vmlinux-gdb.py
6db823cf4   Linus Torvalds   Fix up .gitignore...
63
64
65
  /vmlinuz
  /System.map
  /Module.markers
40cb02030   Masahiro Yamada   .gitignore: ignor...
66
  /modules.builtin
898490c01   Alexey Gladkov   moduleparam: Save...
67
  /modules.builtin.modinfo
bbc55bded   Masahiro Yamada   modpost: dump mis...
68
  /modules.nsdeps
6db823cf4   Linus Torvalds   Fix up .gitignore...
69
70
  
  #
af60e2070   Masahiro Yamada   kbuild: rpm-pkg: ...
71
72
73
74
75
  # RPM spec file (make rpm-pkg)
  #
  /*.spec
  
  #
b75682860   Greg Dietsche   gitignore: ignore...
76
77
78
79
80
  # Debian directory (make deb-pkg)
  #
  /debian/
  
  #
5704d4557   Paolo Pisati   scripts/package: ...
81
82
83
84
85
  # Snap directory (make snap-pkg)
  #
  /snap/
  
  #
dd10ca6c9   Andrey Skvortsov   gitignore: ignore...
86
87
88
89
90
  # tar directory (make tar*-pkg)
  #
  /tar-install/
  
  #
f46e65da4   Masahiro Yamada   .gitignore: exclu...
91
  # We don't want to ignore the following even if they are dot-files
6db823cf4   Linus Torvalds   Fix up .gitignore...
92
  #
f46e65da4   Masahiro Yamada   .gitignore: exclu...
93
94
95
96
  !.clang-format
  !.cocciconfig
  !.get_maintainer.ignore
  !.gitattributes
9e447a7f1   Denis V. Lunev   .gitignore update...
97
  !.gitignore
f72e9df0e   Eduard - Gabriel Munteanu   Fix and clean top...
98
  !.mailmap
1e65174a3   Linus Torvalds   Add some basic .g...
99
100
101
102
  
  #
  # Generated include files
  #
1e35663e4   Masahiro Yamada   .gitignore: add l...
103
104
105
106
  /include/config/
  /include/generated/
  /include/ksym/
  /arch/*/include/generated/
1e65174a3   Linus Torvalds   Add some basic .g...
107

1d519605f   Mauro Carvalho Chehab   V4L/DVB (3300b): ...
108
109
  # stgit generated dirs
  patches-*
8ccf28324   Qi Yong   gitignore: gitign...
110
111
112
113
  
  # quilt's files
  patches
  series
132e2bc3e   Tobias Klauser   [PATCH] Add cscop...
114

819cb9fc8   Masahiro Yamada   .gitignore: move ...
115
116
117
  # ctags files
  tags
  TAGS
132e2bc3e   Tobias Klauser   [PATCH] Add cscop...
118
119
  # cscope files
  cscope.*
9723c046b   Jike Song   .gitignore: match...
120
  ncscope.*
3f1b0e1f2   Alexey Dobriyan   .gitignore update
121

f2ac5e789   Jani Nikula   gitignore: Add GN...
122
123
124
125
126
  # gnu global files
  GPATH
  GRTAGS
  GSYMS
  GTAGS
a37161c05   Andi Kleen   Kbuild: Add ID fi...
127
128
  # id-utils files
  ID
3f1b0e1f2   Alexey Dobriyan   .gitignore update
129
  *.orig
708865547   Chris Dearman   .gitignore: ignor...
130
131
  *~
  \#*#
addbcdbbf   David Howells   MODSIGN: Provide ...
132
133
134
135
136
  
  #
  # Leavings from module signing
  #
  extra_certificates
fb1179499   David Woodhouse   modsign: Use sing...
137
  signing_key.pem
addbcdbbf   David Howells   MODSIGN: Provide ...
138
139
  signing_key.priv
  signing_key.x509
addbcdbbf   David Howells   MODSIGN: Provide ...
140
  x509.genkey
25fba9beb   Borislav Petkov   gitignore: add al...
141
142
  
  # Kconfig presets
7fb1fc420   Masahiro Yamada   .gitignore: add m...
143
144
145
146
147
148
  /all.config
  /alldef.config
  /allmod.config
  /allno.config
  /allrandom.config
  /allyes.config
dfe048724   Boaz Harrosh   .gitignore: Add K...
149

ba77dca58   Paul Menzel   .gitignore: Do no...
150
151
  # Kconfig savedefconfig output
  /defconfig
dfe048724   Boaz Harrosh   .gitignore: Add K...
152
153
  # Kdevelop4
  *.kdev4
26c4c71bc   Toru Komatsu   .gitignore: Add c...
154
155
156
  
  # Clang's compilation database file
  /compile_commands.json
f6236efce   Mauro Carvalho Chehab   .gitignore: docs:...
157
158
159
  
  # Documentation toolchain
  sphinx_*/