arch/mips/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 26 21:37:46 2008 +0000 (2008-08-26)
changeset 810 5d357e239b62
parent 387 2fa4b675a9a3
permissions -rw-r--r--
Enable glibc to include support for kernel versions different than the version from the kernel headers.
Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch.

/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 +-
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 44 44 0 0 +++++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+), 3 deletions(-)
     1 # Compute IA-64-specific values
     2 
     3 CT_DoArchValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
     6 
     7     # Override CFLAGS for endianness:
     8     case "${CT_ARCH_BE},${CT_ARCH_LE}" in
     9         y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
    10         ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
    11     esac
    12 }