scripts/build/arch/s390.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 15 21:42:28 2011 +0200 (2011-08-15)
changeset 2932 c1f65d6a9a13
parent 1631 14abcd185e4b
child 3169 9d0b37f08a10
permissions -rw-r--r--
cc/gcc: add language helper function

Add a function that prepares the language configure option.
It is needed in at least two places, some commonalisation is needed. ;-)

Unfortunately, it is no longer possible to print warnings about experimental
languages any more. Anyway, the experimental status is clearly indicated
in the menuconfig. so it should not be a surprise if the build breaks. :-/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Compute s390-specific values
     2 
     3 CT_DoArchTupleValues() {
     4     # That's the only thing to override
     5     if [ "${CT_ARCH_64}" = "y" ]; then
     6         CT_TARGET_ARCH="s390x"
     7     fi
     8 }