Config.in.libc 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. choice
  4. prompt "C library"
  5. config ADK_TARGET_LIB_UCLIBC_NG
  6. bool "uClibc-ng embedded C library"
  7. depends on \
  8. !ADK_TARGET_ARCH_AARCH64 && \
  9. !ADK_TARGET_ARCH_HPPA && \
  10. !ADK_TARGET_ARCH_NIOS2 && \
  11. !ADK_TARGET_ARCH_S390 && \
  12. !ADK_TARGET_ARCH_SPARC64 && \
  13. !ADK_TARGET_ARCH_PPC64 && \
  14. !ADK_TARGET_ARCH_TILE && \
  15. !ADK_TARGET_ARCH_V850
  16. help
  17. http://uclibc-ng.org
  18. config ADK_TARGET_LIB_MUSL
  19. bool "musl C library"
  20. depends on !ADK_TARGET_UCLINUX
  21. depends on \
  22. ADK_TARGET_ARCH_AARCH64 || \
  23. ADK_TARGET_ARCH_ARM || \
  24. ADK_TARGET_ARCH_MICROBLAZE || \
  25. ADK_TARGET_ARCH_MIPS || \
  26. ADK_TARGET_ARCH_OR1K || \
  27. ADK_TARGET_ARCH_PPC || \
  28. ADK_TARGET_ARCH_SH || \
  29. ADK_TARGET_ARCH_X86 || \
  30. ADK_TARGET_ARCH_X86_64
  31. help
  32. http://musl-libc.org
  33. config ADK_TARGET_LIB_GLIBC
  34. bool "GNU C library"
  35. depends on !ADK_TARGET_ARCH_ARC
  36. depends on !ADK_TARGET_ARCH_AVR32
  37. depends on !ADK_TARGET_ARCH_BFIN
  38. depends on !ADK_TARGET_ARCH_CRIS
  39. depends on !ADK_TARGET_ARCH_H8300
  40. depends on !ADK_TARGET_ARCH_OR1K
  41. depends on !ADK_TARGET_ARCH_XTENSA
  42. depends on !ADK_TARGET_UCLINUX
  43. depends on !ADK_TARGET_WITHOUT_MMU
  44. help
  45. http://www.gnu.org/libc
  46. config ADK_TARGET_LIB_NEWLIB
  47. bool "newlib C library"
  48. select ADK_TARGET_WITHOUT_CXX
  49. select ADK_TARGET_WITHOUT_THREADS
  50. depends on \
  51. ADK_TARGET_ARCH_ARM || \
  52. ADK_TARGET_ARCH_BFIN || \
  53. ADK_TARGET_ARCH_CRIS || \
  54. ADK_TARGET_ARCH_FRV || \
  55. ADK_TARGET_ARCH_LM32 || \
  56. ADK_TARGET_ARCH_MICROBLAZE || \
  57. ADK_TARGET_ARCH_MIPS || \
  58. ADK_TARGET_ARCH_OR1K || \
  59. ADK_TARGET_ARCH_PPC || \
  60. ADK_TARGET_ARCH_SPARC || \
  61. ADK_TARGET_ARCH_V850 || \
  62. ADK_TARGET_ARCH_X86
  63. help
  64. https://sourceware.org/newlib/
  65. endchoice
  66. choice
  67. prompt "C library version"
  68. config ADK_TARGET_LIB_UCLIBC_NG_1_0_10
  69. bool "1.0.10"
  70. depends on ADK_TARGET_LIB_UCLIBC_NG
  71. config ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  72. bool "1.0.9"
  73. depends on ADK_TARGET_LIB_UCLIBC_NG
  74. depends on !ADK_TARGET_ARCH_BFIN
  75. config ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  76. bool "1.0.8"
  77. depends on ADK_TARGET_LIB_UCLIBC_NG
  78. depends on !ADK_TARGET_ARCH_BFIN
  79. config ADK_TARGET_LIB_UCLIBC_NG_GIT
  80. bool "git"
  81. depends on ADK_TARGET_LIB_UCLIBC_NG
  82. config ADK_TARGET_LIB_GLIBC_2_22
  83. bool "2.22"
  84. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  85. config ADK_TARGET_LIB_GLIBC_2_21
  86. bool "2.21"
  87. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  88. config ADK_TARGET_LIB_GLIBC_2_20
  89. bool "2.20"
  90. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  91. config ADK_TARGET_LIB_GLIBC_GIT
  92. bool "git"
  93. depends on ADK_TARGET_LIB_GLIBC
  94. config ADK_TARGET_LIB_MUSL_1_1_12
  95. bool "1.1.12"
  96. depends on ADK_TARGET_LIB_MUSL
  97. config ADK_TARGET_LIB_MUSL_1_1_11
  98. bool "1.1.11"
  99. depends on ADK_TARGET_LIB_MUSL
  100. config ADK_TARGET_LIB_MUSL_1_1_10
  101. bool "1.1.10"
  102. depends on ADK_TARGET_LIB_MUSL
  103. config ADK_TARGET_LIB_MUSL_GIT
  104. bool "git"
  105. depends on ADK_TARGET_LIB_MUSL
  106. config ADK_TARGET_LIB_NEWLIB_2_2_0
  107. bool "2.2.0"
  108. depends on ADK_TARGET_LIB_NEWLIB
  109. config ADK_TARGET_LIB_NEWLIB_GIT
  110. bool "git"
  111. depends on ADK_TARGET_LIB_NEWLIB
  112. endchoice
  113. choice
  114. prompt "Threading"
  115. depends on ADK_TARGET_LIB_UCLIBC_NG && !ADK_TARGET_WITHOUT_THREADS
  116. config ADK_TARGET_LIB_WITH_THREADS
  117. bool "enable threads"
  118. config ADK_TARGET_LIB_WITHOUT_THREADS
  119. bool "disable threads"
  120. endchoice
  121. config ADK_TARGET_WITH_LT
  122. bool
  123. config ADK_TARGET_WITH_NPTL
  124. bool
  125. config ADK_TARGET_WITHOUT_THREADS
  126. bool
  127. config ADK_TARGET_WITHOUT_CXX
  128. bool
  129. config ADK_TARGET_LIBC
  130. string
  131. default "uclibc-ng" if ADK_TARGET_LIB_UCLIBC_NG
  132. default "glibc" if ADK_TARGET_LIB_GLIBC
  133. default "musl" if ADK_TARGET_LIB_MUSL
  134. default "newlib" if ADK_TARGET_LIB_NEWLIB
  135. config ADK_LIBC_VERSION
  136. string
  137. default "1.0.10" if ADK_TARGET_LIB_UCLIBC_NG_1_0_10
  138. default "1.0.9" if ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  139. default "1.0.8" if ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  140. default "1.1.12" if ADK_TARGET_LIB_MUSL_1_1_12
  141. default "1.1.11" if ADK_TARGET_LIB_MUSL_1_1_11
  142. default "1.1.10" if ADK_TARGET_LIB_MUSL_1_1_10
  143. default "2.22" if ADK_TARGET_LIB_GLIBC_2_22
  144. default "2.21" if ADK_TARGET_LIB_GLIBC_2_21
  145. default "2.20" if ADK_TARGET_LIB_GLIBC_2_20
  146. default "2.2.0" if ADK_TARGET_LIB_NEWLIB_2_2_0
  147. default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \
  148. ADK_TARGET_LIB_MUSL_GIT || \
  149. ADK_TARGET_LIB_GLIBC_GIT || \
  150. ADK_TARGET_LIB_NEWLIB_GIT
  151. config ADK_TARGET_LIB_UCLIBC_NG_1_0
  152. bool
  153. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_10
  154. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  155. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  156. config ADK_TARGET_SUFFIX
  157. string
  158. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  159. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_ARM
  160. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_N64
  161. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_N32
  162. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_O64
  163. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_32 && ADK_LINUX_64
  164. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_X32 && ADK_LINUX_64
  165. default "gnu" if ADK_TARGET_LIB_GLIBC
  166. default "uclibceabihf" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  167. default "uclibceabi" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_ARM
  168. default "uclibcabi64" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_N64
  169. default "uclibcabin32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_N32
  170. default "uclibcabi32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_O32
  171. default "uclibc32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_32 && ADK_LINUX_64
  172. default "uclibc" if ADK_TARGET_LIB_UCLIBC_NG
  173. default "musleabihf" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  174. default "musleabi" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ARCH_ARM
  175. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_N64
  176. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_N32
  177. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_O32
  178. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_32 && ADK_LINUX_64
  179. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_X32 && ADK_LINUX_64
  180. default "musl" if ADK_TARGET_LIB_MUSL
  181. default "eabi" if ADK_TARGET_LIB_NEWLIB && ADK_TARGET_ARCH_ARM
  182. default "elf" if ADK_TARGET_LIB_NEWLIB