.gitignore 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. !.clippy.toml
  100. !.cocciconfig
  101. !.editorconfig
  102. !.get_maintainer.ignore
  103. !.gitattributes
  104. !.gitignore
  105. !.kunitconfig
  106. !.mailmap
  107. !.rustfmt.toml
  108. #
  109. # Generated include files
  110. #
  111. /include/config/
  112. /include/generated/
  113. /arch/*/include/generated/
  114. # stgit generated dirs
  115. patches-*
  116. # quilt's files
  117. patches
  118. series
  119. # ctags files
  120. tags
  121. TAGS
  122. # cscope files
  123. cscope.*
  124. ncscope.*
  125. # gnu global files
  126. GPATH
  127. GRTAGS
  128. GSYMS
  129. GTAGS
  130. # id-utils files
  131. ID
  132. *~
  133. \#*#
  134. #
  135. # Leavings from module signing
  136. #
  137. extra_certificates
  138. signing_key.pem
  139. signing_key.priv
  140. signing_key.x509
  141. x509.genkey
  142. # Kconfig presets
  143. /all.config
  144. /alldef.config
  145. /allmod.config
  146. /allno.config
  147. /allrandom.config
  148. /allyes.config
  149. # Kconfig savedefconfig output
  150. /defconfig
  151. # Kdevelop4
  152. *.kdev4
  153. # Clang's compilation database file
  154. /compile_commands.json
  155. # Documentation toolchain
  156. sphinx_*/
  157. # Rust analyzer configuration
  158. /rust-project.json