.gitignore 1.9 KB

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