config/companion_libs/gmp.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 3207 ec3c3aa99c79
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Cody P Schafer <dev@codyps.com>
     1 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "GMP version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config GMP_V_5_1_3
    10     bool
    11     prompt "5.1.3"
    12 
    13 config GMP_V_5_1_1
    14     bool
    15     prompt "5.1.1"
    16 
    17 config GMP_V_5_0_2
    18     bool
    19     prompt "5.0.2"
    20 
    21 config GMP_V_5_0_1
    22     bool
    23     prompt "5.0.1"
    24 
    25 config GMP_V_4_3_2
    26     bool
    27     prompt "4.3.2"
    28 
    29 config GMP_V_4_3_1
    30     bool
    31     prompt "4.3.1"
    32 
    33 config GMP_V_4_3_0
    34     bool
    35     prompt "4.3.0"
    36 
    37 endchoice
    38 
    39 config GMP_VERSION
    40     string
    41 # Don't remove next line
    42 # CT_INSERT_VERSION_STRING_BELOW
    43     default "5.1.3" if GMP_V_5_1_3
    44     default "5.1.1" if GMP_V_5_1_1
    45     default "5.0.2" if GMP_V_5_0_2
    46     default "5.0.1" if GMP_V_5_0_1
    47     default "4.3.2" if GMP_V_4_3_2
    48     default "4.3.1" if GMP_V_4_3_1
    49     default "4.3.0" if GMP_V_4_3_0