xref: /openbmc/linux/.gitignore (revision 38dee6ed)
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#
7b8a9ddcaSMasahiro Yamada# NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
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
21ce88c9c7SViresh Kumar*.dtbo
2210b62a2fSMasahiro Yamada*.dtb.S
23dcad240cSAndrew Davis*.dtbo.S
241377dd3eSMasahiro Yamada*.dwo
251377dd3eSMasahiro Yamada*.elf
261377dd3eSMasahiro Yamada*.gcno
271377dd3eSMasahiro Yamada*.gz
281377dd3eSMasahiro Yamada*.i
291377dd3eSMasahiro Yamada*.ko
3059889300SMasahiro Yamada*.lex.c
311377dd3eSMasahiro Yamada*.ll
321377dd3eSMasahiro Yamada*.lst
331377dd3eSMasahiro Yamada*.lz4
341377dd3eSMasahiro Yamada*.lzma
351377dd3eSMasahiro Yamada*.lzo
36b7dca6ddSMasahiro Yamada*.mod
371377dd3eSMasahiro Yamada*.mod.c
381e65174aSLinus Torvalds*.o
3996918a35SAlexey Dobriyan*.o.*
401377dd3eSMasahiro Yamada*.patch
412f7ab126SMiguel Ojeda*.rmeta
42924d28b3SMasahiro Yamada*.rpm
432f7ab126SMiguel Ojeda*.rsi
441e65174aSLinus Torvalds*.s
4520ede274SBrian Gerst*.so
46f322727bSThomas Gleixner*.so.dbg
47e2557287SRasmus Villemoes*.su
481377dd3eSMasahiro Yamada*.symtypes
4938e89184SSami Tolvanen*.symversions
5059889300SMasahiro Yamada*.tab.[ch]
511377dd3eSMasahiro Yamada*.tar
521377dd3eSMasahiro Yamada*.xz
536f3decabSAdam Borowski*.zst
541377dd3eSMasahiro YamadaModule.symvers
55a564bdebSMasahiro Yamadamodules.order
561e65174aSLinus Torvalds
571e65174aSLinus Torvalds#
581e65174aSLinus Torvalds# Top-level generic files
591e65174aSLinus Torvalds#
606db823cfSLinus Torvalds/linux
6169bc8d38SMasahiro Yamada/modules-only.symvers
626db823cfSLinus Torvalds/vmlinux
63d0fe116bSFlorian Fainelli/vmlinux.32
645cc12472SRasmus Villemoes/vmlinux.map
65269a535cSMasahiro Yamada/vmlinux.symvers
662478a8a1SDaniel Thompson/vmlinux-gdb.py
676db823cfSLinus Torvalds/vmlinuz
686db823cfSLinus Torvalds/System.map
696db823cfSLinus Torvalds/Module.markers
7040cb0203SMasahiro Yamada/modules.builtin
71898490c0SAlexey Gladkov/modules.builtin.modinfo
72bbc55bdeSMasahiro Yamada/modules.nsdeps
736db823cfSLinus Torvalds
746db823cfSLinus Torvalds#
75af60e207SMasahiro Yamada# RPM spec file (make rpm-pkg)
76af60e207SMasahiro Yamada#
77*975667d0SMasahiro Yamada/kernel.spec
7881f59a26SMasahiro Yamada/rpmbuild/
79af60e207SMasahiro Yamada
80af60e207SMasahiro Yamada#
81b7568286SGreg Dietsche# Debian directory (make deb-pkg)
82b7568286SGreg Dietsche#
83b7568286SGreg Dietsche/debian/
84b7568286SGreg Dietsche
85b7568286SGreg Dietsche#
865704d455SPaolo Pisati# Snap directory (make snap-pkg)
875704d455SPaolo Pisati#
885704d455SPaolo Pisati/snap/
895704d455SPaolo Pisati
905704d455SPaolo Pisati#
91dd10ca6cSAndrey Skvortsov# tar directory (make tar*-pkg)
92dd10ca6cSAndrey Skvortsov#
93dd10ca6cSAndrey Skvortsov/tar-install/
94dd10ca6cSAndrey Skvortsov
95dd10ca6cSAndrey Skvortsov#
96f46e65daSMasahiro Yamada# We don't want to ignore the following even if they are dot-files
976db823cfSLinus Torvalds#
98f46e65daSMasahiro Yamada!.clang-format
99f46e65daSMasahiro Yamada!.cocciconfig
100f46e65daSMasahiro Yamada!.get_maintainer.ignore
101f46e65daSMasahiro Yamada!.gitattributes
1029e447a7fSDenis V. Lunev!.gitignore
103cb8865fdSAndy Shevchenko!.kunitconfig
104f72e9df0SEduard - Gabriel Munteanu!.mailmap
10580db40baSMiguel Ojeda!.rustfmt.toml
1061e65174aSLinus Torvalds
1071e65174aSLinus Torvalds#
1081e65174aSLinus Torvalds# Generated include files
1091e65174aSLinus Torvalds#
1101e35663eSMasahiro Yamada/include/config/
1111e35663eSMasahiro Yamada/include/generated/
1121e35663eSMasahiro Yamada/arch/*/include/generated/
1131e65174aSLinus Torvalds
1141d519605SMauro Carvalho Chehab# stgit generated dirs
1151d519605SMauro Carvalho Chehabpatches-*
1168ccf2832SQi Yong
1178ccf2832SQi Yong# quilt's files
1188ccf2832SQi Yongpatches
1198ccf2832SQi Yongseries
120132e2bc3STobias Klauser
121819cb9fcSMasahiro Yamada# ctags files
122819cb9fcSMasahiro Yamadatags
123819cb9fcSMasahiro YamadaTAGS
124819cb9fcSMasahiro Yamada
125132e2bc3STobias Klauser# cscope files
126132e2bc3STobias Klausercscope.*
1279723c046SJike Songncscope.*
1283f1b0e1fSAlexey Dobriyan
129f2ac5e78SJani Nikula# gnu global files
130f2ac5e78SJani NikulaGPATH
131f2ac5e78SJani NikulaGRTAGS
132f2ac5e78SJani NikulaGSYMS
133f2ac5e78SJani NikulaGTAGS
134f2ac5e78SJani Nikula
135a37161c0SAndi Kleen# id-utils files
136a37161c0SAndi KleenID
137a37161c0SAndi Kleen
13870886554SChris Dearman*~
13970886554SChris Dearman\#*#
140addbcdbbSDavid Howells
141addbcdbbSDavid Howells#
142addbcdbbSDavid Howells# Leavings from module signing
143addbcdbbSDavid Howells#
144addbcdbbSDavid Howellsextra_certificates
145fb117949SDavid Woodhousesigning_key.pem
146addbcdbbSDavid Howellssigning_key.priv
147addbcdbbSDavid Howellssigning_key.x509
148addbcdbbSDavid Howellsx509.genkey
14925fba9beSBorislav Petkov
15025fba9beSBorislav Petkov# Kconfig presets
1517fb1fc42SMasahiro Yamada/all.config
1527fb1fc42SMasahiro Yamada/alldef.config
1537fb1fc42SMasahiro Yamada/allmod.config
1547fb1fc42SMasahiro Yamada/allno.config
1557fb1fc42SMasahiro Yamada/allrandom.config
1567fb1fc42SMasahiro Yamada/allyes.config
157dfe04872SBoaz Harrosh
158ba77dca5SPaul Menzel# Kconfig savedefconfig output
159ba77dca5SPaul Menzel/defconfig
160ba77dca5SPaul Menzel
161dfe04872SBoaz Harrosh# Kdevelop4
162dfe04872SBoaz Harrosh*.kdev4
16326c4c71bSToru Komatsu
16426c4c71bSToru Komatsu# Clang's compilation database file
16526c4c71bSToru Komatsu/compile_commands.json
166f6236efcSMauro Carvalho Chehab
167f6236efcSMauro Carvalho Chehab# Documentation toolchain
168f6236efcSMauro Carvalho Chehabsphinx_*/
1698c4555ccSMiguel Ojeda
1708c4555ccSMiguel Ojeda# Rust analyzer configuration
1718c4555ccSMiguel Ojeda/rust-project.json
172