Config.in.libc.default 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. config ADK_uclibc
  4. boolean
  5. config ADK_uclibc_ng
  6. boolean
  7. config ADK_glibc
  8. boolean
  9. config ADK_musl
  10. boolean
  11. config ADK_TARGET_LIBC
  12. string
  13. default "uclibc-ng" if ADK_uclibc_ng
  14. default "uclibc" if ADK_uclibc
  15. default "glibc" if ADK_glibc
  16. default "musl" if ADK_musl
  17. config ADK_LIBC_VERSION
  18. string
  19. default "1.1.4" if ADK_TARGET_LIB_MUSL_1_1_4
  20. default "0.9.33.2" if ADK_TARGET_LIB_UCLIBC_0_9_33_2
  21. default "2.20" if ADK_TARGET_LIB_GLIBC_2_20
  22. default "git" if ADK_TARGET_LIB_UCLIBC_NG_GIT || \
  23. ADK_TARGET_LIB_UCLIBC_GIT || \
  24. ADK_TARGET_LIB_MUSL_GIT || \
  25. ADK_TARGET_LIB_GLIBC_GIT
  26. config ADK_TARGET_WITH_NPTL
  27. boolean
  28. default n if ADK_TARGET_LIB_UCLIBC_NG && ADK_LINUX_CRIS
  29. default n if ADK_TARGET_LIB_UCLIBC && ADK_LINUX_CRIS
  30. default n if ADK_TARGET_LIB_UCLIBC_NG && ADK_LINUX_M68K
  31. default n if ADK_TARGET_LIB_UCLIBC && ADK_LINUX_M68K
  32. default y
  33. config ADK_TARGET_SUFFIX
  34. string
  35. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_eabihf
  36. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_eabi
  37. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_n64
  38. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_n32
  39. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_o32
  40. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_32 && ADK_LINUX_64
  41. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_x32 && ADK_LINUX_64
  42. default "gnu" if ADK_TARGET_LIB_GLIBC
  43. default "uclibceabihf" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_eabihf
  44. default "uclibceabi" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_eabi
  45. default "uclibcabi64" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_n64
  46. default "uclibcabin32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_n32
  47. default "uclibcabi32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_o32
  48. default "uclibc32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_32 && ADK_LINUX_64
  49. default "uclibc" if ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG
  50. default "musleabihf" if ADK_TARGET_LIB_MUSL && ADK_eabihf
  51. default "musleabi" if ADK_TARGET_LIB_MUSL && ADK_eabi
  52. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_n64
  53. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_n32
  54. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_o32
  55. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_32 && ADK_LINUX_64
  56. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_x32 && ADK_LINUX_64
  57. default "musl" if ADK_TARGET_LIB_MUSL