Config.in 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_arm
  4. default y if BR2_armeb
  5. default y if BR2_aarch64
  6. default y if BR2_aarch64_be
  7. default y if BR2_i386
  8. default y if BR2_mips
  9. default y if BR2_mipsel
  10. default y if BR2_mips64
  11. default y if BR2_mips64el
  12. default y if BR2_or1k
  13. default y if BR2_powerpc
  14. default y if BR2_powerpc64
  15. default y if BR2_powerpc64le
  16. default y if BR2_riscv
  17. default y if BR2_s390x
  18. default y if BR2_sh
  19. default y if BR2_sparc64
  20. default y if BR2_x86_64
  21. default y if BR2_microblaze
  22. default y if BR2_nios2
  23. default y if BR2_arc && BR2_ARC_ATOMIC_EXT
  24. depends on !BR2_powerpc_SPE
  25. depends on BR2_RISCV_ISA_RVA || !BR2_riscv
  26. depends on BR2_USE_MMU
  27. config BR2_PACKAGE_GLIBC_SUPPORTS
  28. bool
  29. default y if BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
  30. # Make sure to keep these dependencies in sync with the
  31. # Config.in comments in
  32. # toolchain/toolchain-buildroot/Config.in
  33. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
  34. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le
  35. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 || !BR2_MIPS_NAN_2008
  36. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_RISCV_32
  37. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_RISCV_64
  38. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 || !BR2_arc
  39. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_or1k
  40. if BR2_TOOLCHAIN_BUILDROOT_GLIBC
  41. comment "Glibc Options"
  42. config BR2_PACKAGE_GLIBC
  43. bool
  44. default y
  45. select BR2_PACKAGE_LINUX_HEADERS
  46. select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
  47. help
  48. https://www.gnu.org/software/libc/
  49. config BR2_PACKAGE_GLIBC_KERNEL_COMPAT
  50. bool "Enable compatibility shims to run on older kernels"
  51. help
  52. Say 'y' here if you plan on running your system on a kernel
  53. older than the version used for the toolchain headers.
  54. Enabling those compatibility shims may generate a slightly
  55. bigger and slightly slower glibc library.
  56. The oldest supported kernel version depends on the
  57. architecture.
  58. config BR2_PACKAGE_GLIBC_UTILS
  59. bool "Install glibc utilities"
  60. help
  61. Enabling this option will compile and install the getconf,
  62. ldconfig, ldd and locale glibc utilities for the target.
  63. endif # BR2_TOOLCHAIN_BUILDROOT_GLIBC