180 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# NOTE! Don't add files that are generated in specific4# subdirectories here. Add them in the ".gitignore" file5# 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 are9# any tracked files which get ignored after the change.10#11# Normal rules (sorted alphabetically)12#13.*14*.a15*.asn1.[ch]16*.bin17*.bz218*.c.[012]*.*19*.dt.yaml20*.dtb21*.dtbo22*.dtb.S23*.dtbo.S24*.dwo25*.elf26*.gcno27*.gcda28*.gz29*.i30*.ko31*.lex.c32*.ll33*.lst34*.lz435*.lzma36*.lzo37*.mod38*.mod.c39*.o40*.o.*41*.patch42*.rmeta43*.rpm44*.rsi45*.s46*.so47*.so.dbg48*.su49*.symtypes50*.tab.[ch]51*.tar52*.xz53*.zst54Module.symvers55dtbs-list56modules.order57 58#59# Top-level generic files60#61/linux62/modules-only.symvers63/vmlinux64/vmlinux.3265/vmlinux.map66/vmlinux.symvers67/vmlinux-gdb.py68/vmlinuz69/System.map70/Module.markers71/modules.builtin72/modules.builtin.modinfo73/modules.builtin.ranges74/modules.nsdeps75 76#77# RPM spec file (make rpm-pkg)78#79/rpmbuild/80 81#82# Debian directory (make deb-pkg)83#84/debian/85 86#87# Snap directory (make snap-pkg)88#89/snap/90 91#92# tar directory (make tar*-pkg)93#94/tar-install/95 96#97# pacman files (make pacman-pkg)98#99/PKGBUILD100/pacman/101 102#103# We don't want to ignore the following even if they are dot-files104#105!.clang-format106!.cocciconfig107!.editorconfig108!.get_maintainer.ignore109!.gitattributes110!.gitignore111!.kunitconfig112!.mailmap113!.rustfmt.toml114 115#116# Generated include files117#118/include/config/119/include/generated/120/arch/*/include/generated/121 122# stgit generated dirs123patches-*124 125# quilt's files126patches127series128 129# ctags files130tags131TAGS132 133# cscope files134cscope.*135ncscope.*136 137# gnu global files138GPATH139GRTAGS140GSYMS141GTAGS142 143# id-utils files144ID145 146*~147\#*#148 149#150# Leavings from module signing151#152extra_certificates153signing_key.pem154signing_key.priv155signing_key.x509156x509.genkey157 158# Kconfig presets159/all.config160/alldef.config161/allmod.config162/allno.config163/allrandom.config164/allyes.config165 166# Kconfig savedefconfig output167/defconfig168 169# Kdevelop4170*.kdev4171 172# Clang's compilation database file173/compile_commands.json174 175# Documentation toolchain176sphinx_*/177 178# Rust analyzer configuration179/rust-project.json180