config/companion_tools.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 13:38:12 2014 +0200 (2014-05-11)
changeset 3313 ad14212ebf54
parent 3292 9321d9d7af9b
permissions -rw-r--r--
config: switch cc with libc in the config order

Some of the compiler options depend on the C library choice, (e.g.
whether core passes are needed).

Since the compiler menu comes before the C library menu, those options
may or may not be visible until the C library is chosen, leading to
either options being visible by the user (thus be puzzling as they would
not apply to his case), or invisible to him (yet again puzzling him).

Invert the order of the compiler and the C library in the menuconfig. It
anyway looks more rational, in the end.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     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