scripts/build/arch/s390.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Apr 13 20:52:38 2010 +0200 (2010-04-13)
changeset 1907 2a40681d94c7
parent 1631 14abcd185e4b
child 3169 9d0b37f08a10
permissions -rw-r--r--
scripts/functions: add a save/restore handler

Saving and restoring the steps requires saving/restoring multiple
directories. Depending on the configuration, some may not exist.

Add a wrapper that checks before creating/extracting the tarballs.
harold@1629
     1
# Compute s390-specific values
harold@1629
     2
harold@1629
     3
CT_DoArchTupleValues() {
yann@1636
     4
    # That's the only thing to override
yann@1636
     5
    if [ "${CT_ARCH_64}" = "y" ]; then
yann@1636
     6
        CT_TARGET_ARCH="s390x"
yann@1636
     7
    fi
harold@1629
     8
}