scripts/build/arch/x86.sh
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Mon Apr 16 15:25:36 2012 +0200 (2012-04-16)
changeset 2941 13e40098fffc
parent 1635 5d1936ad5ba8
child 3169 9d0b37f08a10
permissions -rw-r--r--
cc/gcc: update Linaro GCC revisions to 2012.04

Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
     1 # Compute x86-specific values
     2 
     3 # This one really needs a little love! :-(
     4 
     5 CT_DoArchTupleValues() {
     6 
     7     # Override the architecture part of the tuple:
     8     if [ "${CT_ARCH_64}" = "y" ]; then
     9         CT_TARGET_ARCH=x86_64
    10     else
    11         arch="${CT_ARCH_ARCH}"
    12         [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
    13         case "${arch}" in
    14             "")                           CT_TARGET_ARCH=i386;;
    15             i386|i486|i586|i686)          CT_TARGET_ARCH="${arch}";;
    16             winchip*)                     CT_TARGET_ARCH=i486;;
    17             pentium|pentium-mmx|c3*)      CT_TARGET_ARCH=i586;;
    18             pentiumpro|pentium*|athlon*)  CT_TARGET_ARCH=i686;;
    19             prescott)                     CT_TARGET_ARCH=i686;;
    20             *)                            CT_TARGET_ARCH=i586;;
    21         esac
    22     fi
    23 }