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