.gitignore 2.1 KB

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