| 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 -c --exclude-per-directory=.gitignore' |
| 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 |
*.dtbo.S |
| 24 |
*.dwo |
| 25 |
*.dylib |
| 26 |
*.elf |
| 27 |
*.gcno |
| 28 |
*.gcda |
| 29 |
*.gz |
| 30 |
*.i |
| 31 |
*.ko |
| 32 |
*.lex.c |
| 33 |
*.ll |
| 34 |
*.lst |
| 35 |
*.lz4 |
| 36 |
*.lzma |
| 37 |
*.lzo |
| 38 |
*.mod |
| 39 |
*.mod.c |
| 40 |
*.o |
| 41 |
*.o.* |
| 42 |
*.patch |
| 43 |
*.pyc |
| 44 |
*.rlib |
| 45 |
*.rmeta |
| 46 |
*.rpm |
| 47 |
*.rsi |
| 48 |
*.s |
| 49 |
*.so |
| 50 |
*.so.dbg |
| 51 |
*.su |
| 52 |
*.symtypes |
| 53 |
*.tab.[ch] |
| 54 |
*.tar |
| 55 |
*.xz |
| 56 |
*.zst |
| 57 |
Module.symvers |
| 58 |
dtbs-list |
| 59 |
modules.order |
| 60 |
|
| 61 |
# |
| 62 |
# Top-level generic files |
| 63 |
# |
| 64 |
/linux |
| 65 |
/modules-only.symvers |
| 66 |
/vmlinux |
| 67 |
/vmlinux.32 |
| 68 |
/vmlinux.map |
| 69 |
/vmlinux.symvers |
| 70 |
/vmlinux.unstripped |
| 71 |
/vmlinux-gdb.py |
| 72 |
/vmlinuz |
| 73 |
/System.map |
| 74 |
/Module.markers |
| 75 |
/modules.builtin |
| 76 |
/modules.builtin.modinfo |
| 77 |
/modules.builtin.ranges |
| 78 |
/modules.nsdeps |
| 79 |
|
| 80 |
# |
| 81 |
# RPM spec file (make rpm-pkg) |
| 82 |
# |
| 83 |
/rpmbuild/ |
| 84 |
|
| 85 |
# |
| 86 |
# Snap directory (make snap-pkg) |
| 87 |
# |
| 88 |
/snap/ |
| 89 |
|
| 90 |
# |
| 91 |
# tar directory (make tar*-pkg) |
| 92 |
# |
| 93 |
/tar-install/ |
| 94 |
|
| 95 |
# |
| 96 |
# pacman files (make pacman-pkg) |
| 97 |
# |
| 98 |
/PKGBUILD |
| 99 |
/pacman/ |
| 100 |
|
| 101 |
# |
| 102 |
# Generated include files |
| 103 |
# |
| 104 |
/include/config/ |
| 105 |
/include/generated/ |
| 106 |
/arch/*/include/generated/ |
| 107 |
|
| 108 |
# stgit generated dirs |
| 109 |
patches-* |
| 110 |
|
| 111 |
# quilt's files |
| 112 |
patches |
| 113 |
series |
| 114 |
|
| 115 |
# ctags files |
| 116 |
tags |
| 117 |
!tags/ |
| 118 |
TAGS |
| 119 |
|
| 120 |
# cscope files |
| 121 |
cscope.* |
| 122 |
ncscope.* |
| 123 |
|
| 124 |
# gnu global files |
| 125 |
GPATH |
| 126 |
GRTAGS |
| 127 |
GSYMS |
| 128 |
GTAGS |
| 129 |
|
| 130 |
# id-utils files |
| 131 |
ID |
| 132 |
|
| 133 |
*~ |
| 134 |
\#*# |
| 135 |
|
| 136 |
# |
| 137 |
# Leavings from module signing |
| 138 |
# |
| 139 |
extra_certificates |
| 140 |
signing_key.pem |
| 141 |
signing_key.priv |
| 142 |
signing_key.x509 |
| 143 |
x509.genkey |
| 144 |
|
| 145 |
# Kconfig presets |
| 146 |
/all.config |
| 147 |
/alldef.config |
| 148 |
/allmod.config |
| 149 |
/allno.config |
| 150 |
/allrandom.config |
| 151 |
/allyes.config |
| 152 |
|
| 153 |
# Kconfig savedefconfig output |
| 154 |
/defconfig |
| 155 |
|
| 156 |
# Kdevelop4 |
| 157 |
*.kdev4 |
| 158 |
|
| 159 |
# Clang's compilation database file |
| 160 |
compile_commands.json |
| 161 |
|
| 162 |
# Documentation toolchain |
| 163 |
sphinx_*/ |
| 164 |
|
| 165 |
# Rust analyzer configuration |
| •166 |
/rust-project.json |
| 167 |
|
| 168 |
# |
| 169 |
# Debian packaging: ignore everything at the top level, since it isn't |
| 170 |
# included in our repository |
| 171 |
# |
| 172 |
/* |
| 173 |
!/debian/ |