config/companion_tools.in
author Cody Schafer <dev@codyps.com>
Fri May 09 19:13:49 2014 -0700 (2014-05-09)
changeset 3312 4876ff97e039
parent 3292 9321d9d7af9b
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 # Companion tools config options
     2 
     3 menu "Companion tools"
     4 
     5 # Tools that require make-3.81 to build should select this:
     6 config COMP_TOOLS_make_3_81_NEEDED
     7     bool
     8 
     9 config COMP_TOOLS_FORCE_make_3_81
    10     def_bool y
    11     depends on COMP_TOOLS_make_3_81_NEEDED
    12     depends on ! CONFIGURE_has_make381
    13     select COMP_TOOLS
    14     select COMP_TOOLS_make
    15 
    16 comment "READ HELP before you say 'Y' below !!!"
    17 
    18 config COMP_TOOLS
    19     bool
    20     prompt "Build some companion tools"
    21     help
    22       Crosstool-NG relies on some external tools to be recent enough, namely:
    23         make = 3.81 (in some cases)
    24         m4 >= 1.4.12
    25         autoconf >= 2.63
    26         automake >= 1.10.2
    27         libtool >= 2.2.4
    28       
    29       If your system has older versions, we can build them for you,
    30       but you are strongly encouraged to update your system instead!
    31 
    32 if COMP_TOOLS
    33 
    34 config COMP_TOOLS_make
    35     bool
    36     prompt "make"
    37 
    38 config COMP_TOOLS_m4
    39     bool
    40     prompt "m4"
    41 
    42 config COMP_TOOLS_autoconf
    43     bool
    44     prompt "autoconf"
    45 
    46 config COMP_TOOLS_automake
    47     bool
    48     prompt "automake"
    49 
    50 config COMP_TOOLS_libtool
    51     bool
    52     prompt "libtool"
    53 
    54 endif
    55 
    56 endmenu