config/companion_libs/mpc.in
author Cody Schafer <dev@codyps.com>
Fri May 09 19:13:49 2014 -0700 (2014-05-09)
changeset 3312 4876ff97e039
parent 3220 2685dfa9de14
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
     1 # MPC options
     2 
     3 choice
     4     bool
     5     prompt "MPC version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config MPC_V_1_0_2
    10     bool
    11     prompt "1.0.2"
    12 
    13 config MPC_V_1_0_1
    14     bool
    15     prompt "1.0.1"
    16 
    17 config MPC_V_1_0
    18     bool
    19     prompt "1.0"
    20 
    21 config MPC_V_0_9
    22     bool
    23     prompt "0.9"
    24 
    25 config MPC_V_0_8_2
    26     bool
    27     prompt "0.8.2"
    28 
    29 config MPC_V_0_8_1
    30     bool
    31     prompt "0.8.1"
    32 
    33 config MPC_V_0_7
    34     bool
    35     prompt "0.7"
    36 
    37 endchoice
    38 
    39 config MPC_VERSION
    40     string
    41 # Don't remove next line
    42 # CT_INSERT_VERSION_STRING_BELOW
    43     default "1.0.2" if MPC_V_1_0_2
    44     default "1.0.1" if MPC_V_1_0_1
    45     default "1.0" if MPC_V_1_0
    46     default "0.9" if MPC_V_0_9
    47     default "0.8.2" if MPC_V_0_8_2
    48     default "0.8.1" if MPC_V_0_8_1
    49     default "0.7" if MPC_V_0_7