Config.in 2.2 KB

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