1*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_ARCH_SUPPORTS 2*4882a593Smuzhiyun bool 3*4882a593Smuzhiyun default y if BR2_arm 4*4882a593Smuzhiyun default y if BR2_armeb 5*4882a593Smuzhiyun default y if BR2_aarch64 6*4882a593Smuzhiyun default y if BR2_aarch64_be 7*4882a593Smuzhiyun default y if BR2_i386 8*4882a593Smuzhiyun default y if BR2_mips 9*4882a593Smuzhiyun default y if BR2_mipsel 10*4882a593Smuzhiyun default y if BR2_mips64 11*4882a593Smuzhiyun default y if BR2_mips64el 12*4882a593Smuzhiyun default y if BR2_or1k 13*4882a593Smuzhiyun default y if BR2_powerpc 14*4882a593Smuzhiyun default y if BR2_powerpc64 15*4882a593Smuzhiyun default y if BR2_powerpc64le 16*4882a593Smuzhiyun default y if BR2_riscv 17*4882a593Smuzhiyun default y if BR2_s390x 18*4882a593Smuzhiyun default y if BR2_sh 19*4882a593Smuzhiyun default y if BR2_sparc64 20*4882a593Smuzhiyun default y if BR2_x86_64 21*4882a593Smuzhiyun default y if BR2_microblaze 22*4882a593Smuzhiyun default y if BR2_nios2 23*4882a593Smuzhiyun default y if BR2_arc && BR2_ARC_ATOMIC_EXT 24*4882a593Smuzhiyun depends on !BR2_powerpc_SPE 25*4882a593Smuzhiyun depends on BR2_RISCV_ISA_RVA || !BR2_riscv 26*4882a593Smuzhiyun depends on BR2_USE_MMU 27*4882a593Smuzhiyun 28*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_SUPPORTS 29*4882a593Smuzhiyun bool 30*4882a593Smuzhiyun default y if BR2_PACKAGE_GLIBC_ARCH_SUPPORTS 31*4882a593Smuzhiyun # Make sure to keep these dependencies in sync with the 32*4882a593Smuzhiyun # Config.in comments in 33*4882a593Smuzhiyun # toolchain/toolchain-buildroot/Config.in 34*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 35*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le 36*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 || !BR2_MIPS_NAN_2008 37*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_RISCV_32 38*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_RISCV_64 39*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 || !BR2_arc 40*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_or1k 41*4882a593Smuzhiyun 42*4882a593Smuzhiyunif BR2_TOOLCHAIN_BUILDROOT_GLIBC 43*4882a593Smuzhiyun 44*4882a593Smuzhiyuncomment "Glibc Options" 45*4882a593Smuzhiyun 46*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC 47*4882a593Smuzhiyun bool 48*4882a593Smuzhiyun default y 49*4882a593Smuzhiyun select BR2_PACKAGE_LINUX_HEADERS 50*4882a593Smuzhiyun select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI 51*4882a593Smuzhiyun help 52*4882a593Smuzhiyun https://www.gnu.org/software/libc/ 53*4882a593Smuzhiyun 54*4882a593Smuzhiyunchoice 55*4882a593Smuzhiyun prompt "glibc version" 56*4882a593Smuzhiyun default BR2_PACKAGE_GLIBC_LATEST 57*4882a593Smuzhiyun 58*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_LATEST 59*4882a593Smuzhiyun bool "glibc latest" 60*4882a593Smuzhiyun 61*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_2_28 62*4882a593Smuzhiyun bool "glibc 2.28" 63*4882a593Smuzhiyun 64*4882a593Smuzhiyunendchoice 65*4882a593Smuzhiyun 66*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_KERNEL_COMPAT 67*4882a593Smuzhiyun bool "Enable compatibility shims to run on older kernels" 68*4882a593Smuzhiyun help 69*4882a593Smuzhiyun Say 'y' here if you plan on running your system on a kernel 70*4882a593Smuzhiyun older than the version used for the toolchain headers. 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun Enabling those compatibility shims may generate a slightly 73*4882a593Smuzhiyun bigger and slightly slower glibc library. 74*4882a593Smuzhiyun 75*4882a593Smuzhiyun The oldest supported kernel version depends on the 76*4882a593Smuzhiyun architecture. 77*4882a593Smuzhiyun 78*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_UTILS 79*4882a593Smuzhiyun bool "Install glibc utilities" 80*4882a593Smuzhiyun help 81*4882a593Smuzhiyun Enabling this option will compile and install the getconf, 82*4882a593Smuzhiyun ldconfig, ldd and locale glibc utilities for the target. 83*4882a593Smuzhiyun 84*4882a593Smuzhiyunconfig BR2_PACKAGE_GLIBC_GEN_LD_CACHE 85*4882a593Smuzhiyun bool "glibc gen ld.so.cache" 86*4882a593Smuzhiyun default y 87*4882a593Smuzhiyun depends on BR2_PACKAGE_HOST_QEMU 88*4882a593Smuzhiyun depends on BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE 89*4882a593Smuzhiyun 90*4882a593Smuzhiyunendif # BR2_TOOLCHAIN_BUILDROOT_GLIBC 91