Config.in.libc.default 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_M68K
  29. default n if ADK_TARGET_LIB_UCLIBC && ADK_LINUX_M68K
  30. default y
  31. config ADK_TARGET_SUFFIX
  32. string
  33. default "gnueabihf" if ADK_TARGET_LIB_GLIBC && ADK_eabihf
  34. default "gnueabi" if ADK_TARGET_LIB_GLIBC && ADK_eabi
  35. default "gnuabi64" if ADK_TARGET_LIB_GLIBC && ADK_n64
  36. default "gnuabin32" if ADK_TARGET_LIB_GLIBC && ADK_n32
  37. default "gnuabi32" if ADK_TARGET_LIB_GLIBC && ADK_o32
  38. default "gnu32" if ADK_TARGET_LIB_GLIBC && ADK_32 && ADK_LINUX_64
  39. default "gnux32" if ADK_TARGET_LIB_GLIBC && ADK_x32 && ADK_LINUX_64
  40. default "gnu" if ADK_TARGET_LIB_GLIBC
  41. default "uclibceabihf" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_eabihf
  42. default "uclibceabi" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_eabi
  43. default "uclibcabi64" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_n64
  44. default "uclibcabin32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_n32
  45. default "uclibcabi32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_o32
  46. default "uclibc32" if (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) && ADK_32 && ADK_LINUX_64
  47. default "uclibc" if ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG
  48. default "musleabihf" if ADK_TARGET_LIB_MUSL && ADK_eabihf
  49. default "musleabi" if ADK_TARGET_LIB_MUSL && ADK_eabi
  50. default "muslabi64" if ADK_TARGET_LIB_MUSL && ADK_n64
  51. default "muslabin32" if ADK_TARGET_LIB_MUSL && ADK_n32
  52. default "muslabi32" if ADK_TARGET_LIB_MUSL && ADK_o32
  53. default "musl32" if ADK_TARGET_LIB_MUSL && ADK_32 && ADK_LINUX_64
  54. default "muslx32" if ADK_TARGET_LIB_MUSL && ADK_x32 && ADK_LINUX_64
  55. default "musl" if ADK_TARGET_LIB_MUSL