config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 20 15:16:43 2008 +0000 (2008-06-20)
changeset 602 1968d150a34f
parent 475 150c918bcb7b
child 647 390c269d3757
permissions -rw-r--r--
GMP and MPFR are no longer a sub-component of gcc (config-wise).
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.

/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
     1 # binutils options
     2 
     3 menu "binutils"
     4 
     5 config BINUTILS_VERSION
     6     string
     7 
     8 choice
     9     bool
    10     prompt "binutils version"
    11 
    12 config BINUTILS_V_2_14
    13     bool
    14     prompt "2.14 (OBSOLETE)"
    15     depends on OBSOLETE
    16 
    17 config BINUTILS_V_2_15
    18     bool
    19     prompt "2.15 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config BINUTILS_V_2_16_1
    23     bool
    24     prompt "2.16.1"
    25 
    26 config BINUTILS_V_2_17
    27     bool
    28     prompt "2.17"
    29 
    30 config BINUTILS_V_2_18
    31     bool
    32     prompt "2.18"
    33 
    34 config BINUTILS_V_2_18_50_0_4
    35     bool
    36     prompt "2.18.50.0.4 (EXPERIMENTAL)"
    37     depends on EXPERIMENTAL
    38 
    39 config BINUTILS_V_2_18_50_0_6
    40     bool
    41     prompt "2.18.50.0.6 (EXPERIMENTAL)"
    42     depends on EXPERIMENTAL
    43 
    44 config BINUTILS_V_2_18_50_0_7
    45     bool
    46     prompt "2.18.50.0.7 (EXPERIMENTAL)"
    47     depends on EXPERIMENTAL
    48 
    49 # CT_INSERT_VERSION_ABOVE
    50 # Don't remove above line!
    51 endchoice
    52 
    53 config BINUTILS_VERSION
    54     string
    55     default "2.14" if BINUTILS_V_2_14
    56     default "2.15" if BINUTILS_V_2_15
    57     default "2.16.1" if BINUTILS_V_2_16_1
    58     default "2.17" if BINUTILS_V_2_17
    59     default "2.18" if BINUTILS_V_2_18
    60     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    61     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    62     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    63 # CT_INSERT_VERSION_STRING_ABOVE
    64 # Don't remove above line!
    65 
    66 config BINUTILS_EXTRA_CONFIG
    67     string
    68     prompt "binutils extra config"
    69     default ""
    70     help
    71       Extra flags passed onto ./configure when configuring
    72 
    73 config BINUTILS_FOR_TARGET
    74     bool
    75     prompt "binutils libraries for the target"
    76     default n
    77     help
    78       Some utilities may need binutils libraries to be available on
    79       the target, eg. oprofile.
    80 
    81 if BINUTILS_FOR_TARGET
    82 
    83 config BINUTILS_FOR_TARGET_IBERTY
    84     bool
    85     prompt "libiberty"
    86     default y
    87 
    88 config BINUTILS_FOR_TARGET_BFD
    89     bool
    90     prompt "libbfd"
    91     default y
    92 
    93 endif # BINUTILS_FOR_TARGET
    94 
    95 endmenu