config/companion_libs/gmp.in
author Cody Schafer <dev@codyps.com>
Fri May 09 19:13:49 2014 -0700 (2014-05-09)
changeset 3312 4876ff97e039
parent 3207 ec3c3aa99c79
permissions -rw-r--r--
cc/gcc: allow CC_EXTRA_CONFIG_ARRAY on baremetal

The final bare-metal compiler is built using the core backend.
Currently the core uses the CC_CORE_EXTRA_CONFIG_ARRAY variable.

While this works as supposed to, this can leave the user puzzled
in the menuconfig, since all he can see is the core options, not
the final options.

Only show the core options if any of the core passes are needed,
and use the final options in the core-backend if we're issuing
the bare-metal compiler.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: hide core options if no core pass needed;
use final option in core backend if issuing the bare-metal compiler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <22181e546ba746202489.1399688067@localhost>
Patchwork-Id: 347586
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