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