Config.in.libc 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. help
  16. http://uclibc-ng.org
  17. config ADK_TARGET_LIB_MUSL
  18. bool "musl C library"
  19. depends on !ADK_TARGET_UCLINUX
  20. depends on \
  21. ADK_TARGET_ARCH_AARCH64 || \
  22. ADK_TARGET_ARCH_ARM || \
  23. ADK_TARGET_ARCH_MICROBLAZE || \
  24. ADK_TARGET_ARCH_MIPS || \
  25. ADK_TARGET_ARCH_OR1K || \
  26. ADK_TARGET_ARCH_PPC || \
  27. ADK_TARGET_ARCH_SH || \
  28. ADK_TARGET_ARCH_X86 || \
  29. ADK_TARGET_ARCH_X86_64
  30. help
  31. http://musl-libc.org
  32. config ADK_TARGET_LIB_GLIBC
  33. bool "GNU C library"
  34. depends on !ADK_TARGET_ARCH_ARC
  35. depends on !ADK_TARGET_ARCH_AVR32
  36. depends on !ADK_TARGET_ARCH_BFIN
  37. depends on !ADK_TARGET_ARCH_CRIS
  38. depends on !ADK_TARGET_ARCH_H8300
  39. depends on !ADK_TARGET_ARCH_OR1K
  40. depends on !ADK_TARGET_ARCH_XTENSA
  41. depends on !ADK_TARGET_UCLINUX
  42. depends on !ADK_TARGET_WITHOUT_MMU
  43. help
  44. http://www.gnu.org/libc
  45. endchoice
  46. choice
  47. prompt "C library version"
  48. config ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  49. bool "1.0.9"
  50. depends on ADK_TARGET_LIB_UCLIBC_NG
  51. config ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  52. bool "1.0.8"
  53. depends on ADK_TARGET_LIB_UCLIBC_NG
  54. config ADK_TARGET_LIB_UCLIBC_NG_1_0_7
  55. bool "1.0.7"
  56. depends on ADK_TARGET_LIB_UCLIBC_NG
  57. config ADK_TARGET_LIB_UCLIBC_NG_GIT
  58. bool "git"
  59. depends on ADK_TARGET_LIB_UCLIBC_NG
  60. config ADK_TARGET_LIB_GLIBC_2_22
  61. bool "2.22"
  62. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  63. config ADK_TARGET_LIB_GLIBC_2_21
  64. bool "2.21"
  65. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  66. config ADK_TARGET_LIB_GLIBC_2_20
  67. bool "2.20"
  68. depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA
  69. config ADK_TARGET_LIB_GLIBC_GIT
  70. bool "git"
  71. depends on ADK_TARGET_LIB_GLIBC
  72. config ADK_TARGET_LIB_MUSL_1_1_12
  73. bool "1.1.12"
  74. depends on ADK_TARGET_LIB_MUSL
  75. config ADK_TARGET_LIB_MUSL_1_1_11
  76. bool "1.1.11"
  77. depends on ADK_TARGET_LIB_MUSL
  78. config ADK_TARGET_LIB_MUSL_1_1_10
  79. bool "1.1.10"
  80. depends on ADK_TARGET_LIB_MUSL
  81. config ADK_TARGET_LIB_MUSL_GIT
  82. bool "git"
  83. depends on ADK_TARGET_LIB_MUSL
  84. endchoice
  85. choice
  86. prompt "Threading"
  87. depends on ADK_TARGET_LIB_UCLIBC_NG && !ADK_TARGET_WITHOUT_THREADS
  88. config ADK_TARGET_LIB_WITH_THREADS
  89. bool "enable threads"
  90. config ADK_TARGET_LIB_WITHOUT_THREADS
  91. bool "disable threads"
  92. endchoice
  93. config ADK_TARGET_WITH_LT
  94. bool
  95. config ADK_TARGET_WITH_NPTL
  96. bool
  97. config ADK_TARGET_WITHOUT_THREADS
  98. bool
  99. config ADK_TARGET_WITHOUT_CXX
  100. bool
  101. config ADK_TARGET_LIBC
  102. string
  103. default "uclibc-ng" if ADK_TARGET_LIB_UCLIBC_NG
  104. default "glibc" if ADK_TARGET_LIB_GLIBC
  105. default "musl" if ADK_TARGET_LIB_MUSL
  106. config ADK_LIBC_VERSION
  107. string
  108. default "1.0.9" if ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  109. default "1.0.8" if ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  110. default "1.0.7" if ADK_TARGET_LIB_UCLIBC_NG_1_0_7
  111. default "1.1.12" if ADK_TARGET_LIB_MUSL_1_1_12
  112. default "1.1.11" if ADK_TARGET_LIB_MUSL_1_1_11
  113. default "1.1.10" if ADK_TARGET_LIB_MUSL_1_1_10
  114. default "2.22" if ADK_TARGET_LIB_GLIBC_2_22
  115. default "2.21" if ADK_TARGET_LIB_GLIBC_2_21
  116. default "2.20" if ADK_TARGET_LIB_GLIBC_2_20
  117. default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \
  118. ADK_TARGET_LIB_MUSL_GIT || \
  119. ADK_TARGET_LIB_GLIBC_GIT
  120. config ADK_TARGET_LIB_UCLIBC_NG_1_0
  121. bool
  122. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_9
  123. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_8
  124. default y if ADK_TARGET_LIB_UCLIBC_NG_1_0_7
  125. config ADK_TARGET_SUFFIX
  126. string
  127. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  128. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_ARM
  129. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_N64
  130. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_N32
  131. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_O64
  132. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_32 && ADK_LINUX_64
  133. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_TARGET_ABI_X32 && ADK_LINUX_64
  134. default "gnu" if ADK_TARGET_LIB_GLIBC
  135. default "uclibceabihf" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  136. default "uclibceabi" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_ARM
  137. default "uclibcabi64" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_N64
  138. default "uclibcabin32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_N32
  139. default "uclibcabi32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_O32
  140. default "uclibc32" if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ABI_32 && ADK_LINUX_64
  141. default "uclibc" if ADK_TARGET_LIB_UCLIBC_NG
  142. default "musleabihf" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ARCH_ARM && ADK_TARGET_HARD_FLOAT
  143. default "musleabi" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ARCH_ARM
  144. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_N64
  145. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_N32
  146. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_O32
  147. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_32 && ADK_LINUX_64
  148. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_TARGET_ABI_X32 && ADK_LINUX_64
  149. default "musl" if ADK_TARGET_LIB_MUSL