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