1config 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 28config 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 42if BR2_TOOLCHAIN_BUILDROOT_GLIBC 43 44comment "Glibc Options" 45 46config BR2_PACKAGE_GLIBC 47 bool 48 default y 49 select BR2_PACKAGE_LINUX_HEADERS 50 select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI 51 help 52 https://www.gnu.org/software/libc/ 53 54choice 55 prompt "glibc version" 56 default BR2_PACKAGE_GLIBC_LATEST 57 58config BR2_PACKAGE_GLIBC_LATEST 59 bool "glibc latest" 60 61config BR2_PACKAGE_GLIBC_2_28 62 bool "glibc 2.28" 63 64endchoice 65 66config BR2_PACKAGE_GLIBC_KERNEL_COMPAT 67 bool "Enable compatibility shims to run on older kernels" 68 help 69 Say 'y' here if you plan on running your system on a kernel 70 older than the version used for the toolchain headers. 71 72 Enabling those compatibility shims may generate a slightly 73 bigger and slightly slower glibc library. 74 75 The oldest supported kernel version depends on the 76 architecture. 77 78config BR2_PACKAGE_GLIBC_UTILS 79 bool "Install glibc utilities" 80 help 81 Enabling this option will compile and install the getconf, 82 ldconfig, ldd and locale glibc utilities for the target. 83 84config BR2_PACKAGE_GLIBC_GEN_LD_CACHE 85 bool "glibc gen ld.so.cache" 86 default y 87 depends on BR2_PACKAGE_HOST_QEMU 88 depends on BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE 89 90endif # BR2_TOOLCHAIN_BUILDROOT_GLIBC 91