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