.gitignore 1.9 KB

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