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