Enhance setting the minimum kernel version glibc will run against.
Ideally, eglibc should also benefit for that, but the current code does not set it.
/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
1 # Compute sh-specific values
4 # The architecture part of the tuple:
5 CT_TARGET_ARCH="${CT_ARCH_SH_VARIANT}${target_endian_eb}"
7 # gcc ./configure flags
16 case "${CT_ARCH_BE},${CT_ARCH_LE}" in
17 y,) CT_ARCH_ENDIAN_CFLAG=-mb;;
18 ,y) CT_ARCH_ENDIAN_CFLAG=-ml;;
22 case "${CT_ARCH_SH_VARIENT}" in
23 sh3) CT_ARCH_ARCH_CFLAG=-m3;;
25 case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
26 y,) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}";;
27 ,y) CT_ARCH_ARCH_CFLAG="-m4${CT_ARCH_SH_VARIANT##sh?}-nofpu";;