xref: /linux/.gitignore (revision 6f3decab)
1d198b34fSMasahiro Yamada# SPDX-License-Identifier: GPL-2.0-only
21e65174aSLinus Torvalds#
31e65174aSLinus Torvalds# NOTE! Don't add files that are generated in specific
41e65174aSLinus Torvalds# subdirectories here. Add them in the ".gitignore" file
51e65174aSLinus Torvalds# in that subdirectory instead.
61e65174aSLinus Torvalds#
7ff2f5ff0SMatt Kraai# NOTE! Please use 'git ls-files -i --exclude-standard'
8f72e9df0SEduard - Gabriel Munteanu# command after changing this file, to see if there are
9f72e9df0SEduard - Gabriel Munteanu# any tracked files which get ignored after the change.
10f72e9df0SEduard - Gabriel Munteanu#
111377dd3eSMasahiro Yamada# Normal rules (sorted alphabetically)
121e65174aSLinus Torvalds#
131e65174aSLinus Torvalds.*
141377dd3eSMasahiro Yamada*.a
154fa8bc94SMasahiro Yamada*.asn1.[ch]
161377dd3eSMasahiro Yamada*.bin
171377dd3eSMasahiro Yamada*.bz2
181377dd3eSMasahiro Yamada*.c.[012]*.*
194f0e3a57SRob Herring*.dt.yaml
2010b62a2fSMasahiro Yamada*.dtb
2110b62a2fSMasahiro Yamada*.dtb.S
221377dd3eSMasahiro Yamada*.dwo
231377dd3eSMasahiro Yamada*.elf
241377dd3eSMasahiro Yamada*.gcno
251377dd3eSMasahiro Yamada*.gz
261377dd3eSMasahiro Yamada*.i
271377dd3eSMasahiro Yamada*.ko
2859889300SMasahiro Yamada*.lex.c
291377dd3eSMasahiro Yamada*.ll
301377dd3eSMasahiro Yamada*.lst
311377dd3eSMasahiro Yamada*.lz4
321377dd3eSMasahiro Yamada*.lzma
331377dd3eSMasahiro Yamada*.lzo
34b7dca6ddSMasahiro Yamada*.mod
351377dd3eSMasahiro Yamada*.mod.c
361e65174aSLinus Torvalds*.o
3796918a35SAlexey Dobriyan*.o.*
381377dd3eSMasahiro Yamada*.patch
391e65174aSLinus Torvalds*.s
4020ede274SBrian Gerst*.so
41f322727bSThomas Gleixner*.so.dbg
421377dd3eSMasahiro Yamada*.su
43ac3b719cSJosh Triplett*.symtypes
4459889300SMasahiro Yamada*.tab.[ch]
45f4ae9497SAndrey Skvortsov*.tar
46790e10baSRomain Francoise*.xz
47*6f3decabSAdam Borowski*.zst
48082722a0SZhao, GangModule.symvers
491377dd3eSMasahiro Yamadamodules.builtin
50a564bdebSMasahiro Yamadamodules.order
511e65174aSLinus Torvalds
521e65174aSLinus Torvalds#
531e65174aSLinus Torvalds# Top-level generic files
541e65174aSLinus Torvalds#
556db823cfSLinus Torvalds/tags
566db823cfSLinus Torvalds/TAGS
576db823cfSLinus Torvalds/linux
586db823cfSLinus Torvalds/vmlinux
59d0fe116bSFlorian Fainelli/vmlinux.32
60269a535cSMasahiro Yamada/vmlinux.symvers
612478a8a1SDaniel Thompson/vmlinux-gdb.py
626db823cfSLinus Torvalds/vmlinuz
636db823cfSLinus Torvalds/System.map
646db823cfSLinus Torvalds/Module.markers
65898490c0SAlexey Gladkov/modules.builtin.modinfo
66bbc55bdeSMasahiro Yamada/modules.nsdeps
676db823cfSLinus Torvalds
68af60e207SMasahiro Yamada#
69af60e207SMasahiro Yamada# RPM spec file (make rpm-pkg)
70af60e207SMasahiro Yamada#
71af60e207SMasahiro Yamada/*.spec
72af60e207SMasahiro Yamada
73b7568286SGreg Dietsche#
74b7568286SGreg Dietsche# Debian directory (make deb-pkg)
75b7568286SGreg Dietsche#
76b7568286SGreg Dietsche/debian/
77b7568286SGreg Dietsche
785704d455SPaolo Pisati#
795704d455SPaolo Pisati# Snap directory (make snap-pkg)
805704d455SPaolo Pisati#
815704d455SPaolo Pisati/snap/
825704d455SPaolo Pisati
83dd10ca6cSAndrey Skvortsov#
84dd10ca6cSAndrey Skvortsov# tar directory (make tar*-pkg)
85dd10ca6cSAndrey Skvortsov#
86dd10ca6cSAndrey Skvortsov/tar-install/
87dd10ca6cSAndrey Skvortsov
886db823cfSLinus Torvalds#
89f46e65daSMasahiro Yamada# We don't want to ignore the following even if they are dot-files
906db823cfSLinus Torvalds#
91f46e65daSMasahiro Yamada!.clang-format
92f46e65daSMasahiro Yamada!.cocciconfig
93f46e65daSMasahiro Yamada!.get_maintainer.ignore
94f46e65daSMasahiro Yamada!.gitattributes
959e447a7fSDenis V. Lunev!.gitignore
96f72e9df0SEduard - Gabriel Munteanu!.mailmap
971e65174aSLinus Torvalds
981e65174aSLinus Torvalds#
991e65174aSLinus Torvalds# Generated include files
1001e65174aSLinus Torvalds#
1011e35663eSMasahiro Yamada/include/config/
1021e35663eSMasahiro Yamada/include/generated/
1031e35663eSMasahiro Yamada/include/ksym/
1041e35663eSMasahiro Yamada/arch/*/include/generated/
1051e65174aSLinus Torvalds
1061d519605SMauro Carvalho Chehab# stgit generated dirs
1071d519605SMauro Carvalho Chehabpatches-*
1088ccf2832SQi Yong
1098ccf2832SQi Yong# quilt's files
1108ccf2832SQi Yongpatches
1118ccf2832SQi Yongseries
112132e2bc3STobias Klauser
113132e2bc3STobias Klauser# cscope files
114132e2bc3STobias Klausercscope.*
1159723c046SJike Songncscope.*
1163f1b0e1fSAlexey Dobriyan
117f2ac5e78SJani Nikula# gnu global files
118f2ac5e78SJani NikulaGPATH
119f2ac5e78SJani NikulaGRTAGS
120f2ac5e78SJani NikulaGSYMS
121f2ac5e78SJani NikulaGTAGS
122f2ac5e78SJani Nikula
123a37161c0SAndi Kleen# id-utils files
124a37161c0SAndi KleenID
125a37161c0SAndi Kleen
1263f1b0e1fSAlexey Dobriyan*.orig
12770886554SChris Dearman*~
12870886554SChris Dearman\#*#
129addbcdbbSDavid Howells
130addbcdbbSDavid Howells#
131addbcdbbSDavid Howells# Leavings from module signing
132addbcdbbSDavid Howells#
133addbcdbbSDavid Howellsextra_certificates
134fb117949SDavid Woodhousesigning_key.pem
135addbcdbbSDavid Howellssigning_key.priv
136addbcdbbSDavid Howellssigning_key.x509
137addbcdbbSDavid Howellsx509.genkey
13825fba9beSBorislav Petkov
13925fba9beSBorislav Petkov# Kconfig presets
1407fb1fc42SMasahiro Yamada/all.config
1417fb1fc42SMasahiro Yamada/alldef.config
1427fb1fc42SMasahiro Yamada/allmod.config
1437fb1fc42SMasahiro Yamada/allno.config
1447fb1fc42SMasahiro Yamada/allrandom.config
1457fb1fc42SMasahiro Yamada/allyes.config
146dfe04872SBoaz Harrosh
147ba77dca5SPaul Menzel# Kconfig savedefconfig output
148ba77dca5SPaul Menzel/defconfig
149ba77dca5SPaul Menzel
150dfe04872SBoaz Harrosh# Kdevelop4
151dfe04872SBoaz Harrosh*.kdev4
15226c4c71bSToru Komatsu
15326c4c71bSToru Komatsu# Clang's compilation database file
15426c4c71bSToru Komatsu/compile_commands.json
155