.gitignore 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. *.dtb.S
  22. *.dwo
  23. *.elf
  24. *.gcno
  25. *.gz
  26. *.i
  27. *.ko
  28. *.lex.c
  29. *.ll
  30. *.lst
  31. *.lz4
  32. *.lzma
  33. *.lzo
  34. *.mod
  35. *.mod.c
  36. *.o
  37. *.o.*
  38. *.patch
  39. *.s
  40. *.so
  41. *.so.dbg
  42. *.su
  43. *.symtypes
  44. *.symversions
  45. *.tab.[ch]
  46. *.tar
  47. *.xz
  48. *.zst
  49. Module.symvers
  50. modules.builtin
  51. modules.order
  52. #
  53. # Top-level generic files
  54. #
  55. /tags
  56. /TAGS
  57. /linux
  58. /modules-only.symvers
  59. /vmlinux
  60. /vmlinux.32
  61. /vmlinux.symvers
  62. /vmlinux-gdb.py
  63. /vmlinuz
  64. /System.map
  65. /Module.markers
  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. # cscope files
  106. cscope.*
  107. ncscope.*
  108. # gnu global files
  109. GPATH
  110. GRTAGS
  111. GSYMS
  112. GTAGS
  113. # id-utils files
  114. ID
  115. *.orig
  116. *~
  117. \#*#
  118. #
  119. # Leavings from module signing
  120. #
  121. extra_certificates
  122. signing_key.pem
  123. signing_key.priv
  124. signing_key.x509
  125. x509.genkey
  126. # Kconfig presets
  127. /all.config
  128. /alldef.config
  129. /allmod.config
  130. /allno.config
  131. /allrandom.config
  132. /allyes.config
  133. # Kconfig savedefconfig output
  134. /defconfig
  135. # Kdevelop4
  136. *.kdev4
  137. # Clang's compilation database file
  138. /compile_commands.json
  139. # Documentation toolchain
  140. sphinx_*/