1# 2# NOTE! Don't add files that are generated in specific 3# subdirectories here. Add them in the ".gitignore" file 4# in that subdirectory instead. 5# 6# NOTE! Please use 'git ls-files -i --exclude-standard' 7# command after changing this file, to see if there are 8# any tracked files which get ignored after the change. 9# 10# Normal rules (sorted alphabetically) 11# 12.* 13*.a 14*.asn1.[ch] 15*.bin 16*.bz2 17*.c.[012]*.* 18*.dt.yaml 19*.dtb 20*.dtb.S 21*.dwo 22*.elf 23*.gcno 24*.gz 25*.i 26*.ko 27*.lex.c 28*.ll 29*.lst 30*.lz4 31*.lzma 32*.lzo 33*.mod 34*.mod.c 35*.o 36*.o.* 37*.patch 38*.s 39*.so 40*.so.dbg 41*.su 42*.symtypes 43*.tab.[ch] 44*.tar 45*.xz 46Module.symvers 47modules.builtin 48modules.order 49 50# 51# Top-level generic files 52# 53/tags 54/TAGS 55/linux 56/vmlinux 57/vmlinux.32 58/vmlinux-gdb.py 59/vmlinuz 60/System.map 61/Module.markers 62/modules.builtin.modinfo 63/modules.nsdeps 64 65# 66# RPM spec file (make rpm-pkg) 67# 68/*.spec 69 70# 71# Debian directory (make deb-pkg) 72# 73/debian/ 74 75# 76# Snap directory (make snap-pkg) 77# 78/snap/ 79 80# 81# tar directory (make tar*-pkg) 82# 83/tar-install/ 84 85# 86# We don't want to ignore the following even if they are dot-files 87# 88!.clang-format 89!.cocciconfig 90!.get_maintainer.ignore 91!.gitattributes 92!.gitignore 93!.mailmap 94 95# 96# Generated include files 97# 98/include/config/ 99/include/generated/ 100/include/ksym/ 101/arch/*/include/generated/ 102 103# Generated lkdtm tests 104/tools/testing/selftests/lkdtm/*.sh 105!/tools/testing/selftests/lkdtm/run.sh 106 107# stgit generated dirs 108patches-* 109 110# quilt's files 111patches 112series 113 114# cscope files 115cscope.* 116ncscope.* 117 118# gnu global files 119GPATH 120GRTAGS 121GSYMS 122GTAGS 123 124# id-utils files 125ID 126 127*.orig 128*~ 129\#*# 130 131# 132# Leavings from module signing 133# 134extra_certificates 135signing_key.pem 136signing_key.priv 137signing_key.x509 138x509.genkey 139 140# Kconfig presets 141/all.config 142/alldef.config 143/allmod.config 144/allno.config 145/allrandom.config 146/allyes.config 147 148# Kdevelop4 149*.kdev4 150 151# Clang's compilation database file 152/compile_commands.json 153