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>
yann@466
     1
# GMP options
yann@466
     2
yann@466
     3
choice
yann@466
     4
    bool
yann@466
     5
    prompt "GMP version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@466
     8
danielrubiob@3283
     9
config GMP_V_5_1_3
danielrubiob@3283
    10
    bool
danielrubiob@3283
    11
    prompt "5.1.3"
danielrubiob@3283
    12
yann@3207
    13
config GMP_V_5_1_1
yann@3207
    14
    bool
yann@3207
    15
    prompt "5.1.1"
yann@3207
    16
yann@2651
    17
config GMP_V_5_0_2
yann@2651
    18
    bool
yann@2957
    19
    prompt "5.0.2"
yann@2651
    20
yann@1873
    21
config GMP_V_5_0_1
yann@1873
    22
    bool
yann@2957
    23
    prompt "5.0.1"
yann@1873
    24
yann@1873
    25
config GMP_V_4_3_2
yann@1873
    26
    bool
yann@1873
    27
    prompt "4.3.2"
yann@1873
    28
yann@1534
    29
config GMP_V_4_3_1
yann@466
    30
    bool
yann@1534
    31
    prompt "4.3.1"
yann@1534
    32
yann@1534
    33
config GMP_V_4_3_0
yann@1534
    34
    bool
yann@1534
    35
    prompt "4.3.0"
yann@466
    36
yann@466
    37
endchoice
yann@466
    38
yann@466
    39
config GMP_VERSION
yann@466
    40
    string
yann@1535
    41
# Don't remove next line
yann@1535
    42
# CT_INSERT_VERSION_STRING_BELOW
danielrubiob@3283
    43
    default "5.1.3" if GMP_V_5_1_3
yann@3207
    44
    default "5.1.1" if GMP_V_5_1_1
yann@2651
    45
    default "5.0.2" if GMP_V_5_0_2
yann@1873
    46
    default "5.0.1" if GMP_V_5_0_1
yann@1873
    47
    default "4.3.2" if GMP_V_4_3_2
yann@1534
    48
    default "4.3.1" if GMP_V_4_3_1
yann@1534
    49
    default "4.3.0" if GMP_V_4_3_0