# config for glibc config GLIBC_HEADERS bool select KERNEL_HEADERS config GLIBC_CRT bool select CROSS_GCC_FIRST config GLIBC_FIRST bool select CROSS_GCC_FIRST menuconfig GLIBC bool select GLIBC_CRT select GLIBC_PORTS if GLIBC_ADDON_NPTL && ( ARCH_ARM || ARCH_MIPS ) select GLIBC_LINUXTHREADS if GLIBC_ADDON_LINUXTHREADS select TOOLCHAIN_ENABLE_SYSROOT select TOOLCHAIN_DISABLE_MULTILIB select CROSS_GCC select CROSS_GCC_ENABLE_CXA_ATEXIT select CROSS_GCC_DISABLE_SJLJ_EXCEPTIONS select CROSS_GCC_DISABLE_LIBSSP select CROSS_GCC_ENABLE_SHARED select CROSS_GCC_THREADS_POSIX prompt "glibc " config GLIBC_VERSION depends on GLIBC string prompt "glibc version" default "2.8" help Specify the glibc version here. Leave empty for glibc trunk snapshots and enter a timestamp below. config GLIBC_TIMESTAMP depends on GLIBC string prompt "glibc timestamp" default "" help For glibc releases just leave this field empty. For glibc snapshots enter a timestap (YYYYMMDD, e.g. 20080811) here, or "latest" or if you want try the latest snapshot. config GLIBC_SERIES depends on GLIBC string prompt "glibc patch series file" default "series" config GLIBC_ENABLE_KERNEL depends on GLIBC string prompt "mininum kernel version" default "2.6.23" config GLIBC_CONFIG_EXTRA depends on GLIBC string prompt "extra configure options" help Add these extra options to glibc's configure script. config GLIBC_HEADERS_FAKE_CROSS depends on GLIBC string prompt "fake cross args" default "-D__ARM_EABI__" if ARCH_ARM default "-DBOOTSTRAP_GCC" if ARCH_MIPS help Add these args to fake a crosscompiler during glibc-header extraction stage. choice prompt "Thread implementation" depends on GLIBC default GLIBC_ADDON_NPTL config GLIBC_ADDON_LINUXTHREADS bool prompt "linuxthreads" help Activate the linuxthreads addon. config GLIBC_ADDON_NPTL bool prompt "nptl" select GLIBC_TLS help Activate the NPTL addon. endchoice config GLIBC_TLS depends on GLIBC bool prompt "enable TLS" help Activate Thread Local Storage.