config/binutils/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 23 20:21:43 2010 +0200 (2010-08-23)
changeset 2097 056a2c826185
parent 2012 aefc8799ef0c
child 2226 13e4f7126cf7
permissions -rw-r--r--
binutils/binutils: companion libraries are not used

GNU binutils does not use the companion libraries, although
./configure advertises switches for them. This is because the
configure file is shared between different packages, and is
a bit 'lax' about what it checks. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00160.html
http://sourceware.org/ml/crossgcc/2010-08/msg00161.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # binutils options
     2 
     3 comment "GNU binutils"
     4 
     5 choice
     6     bool
     7     prompt "binutils version"
     8 # Don't remove next line
     9 # CT_INSERT_VERSION_BELOW
    10 
    11 config BINUTILS_V_2_20_1
    12     bool
    13     prompt "2.20.1"
    14 
    15 config BINUTILS_V_2_20
    16     bool
    17     prompt "2.20"
    18 
    19 config BINUTILS_V_2_19_1
    20     bool
    21     prompt "2.19.1"
    22 
    23 config BINUTILS_V_2_19
    24     bool
    25     prompt "2.19"
    26 
    27 config BINUTILS_V_2_18
    28     bool
    29     prompt "2.18"
    30 
    31 config BINUTILS_V_2_17
    32     bool
    33     prompt "2.17 (OBSOLETE)"
    34     depends on OBSOLETE
    35 
    36 config BINUTILS_V_2_16_1
    37     bool
    38     prompt "2.16.1 (OBSOLETE)"
    39     depends on OBSOLETE
    40 
    41 endchoice
    42 
    43 config BINUTILS_VERSION
    44     string
    45 # Don't remove next line
    46 # CT_INSERT_VERSION_STRING_BELOW
    47     default "2.20.1" if BINUTILS_V_2_20_1
    48     default "2.20" if BINUTILS_V_2_20
    49     default "2.19.1" if BINUTILS_V_2_19_1
    50     default "2.19" if BINUTILS_V_2_19
    51     default "2.18" if BINUTILS_V_2_18
    52     default "2.17" if BINUTILS_V_2_17
    53     default "2.16.1" if BINUTILS_V_2_16_1
    54 
    55 config BINUTILS_EXTRA_CONFIG
    56     string
    57     prompt "binutils extra config"
    58     default ""
    59     help
    60       Extra flags passed onto ./configure when configuring
    61 
    62 config BINUTILS_FOR_TARGET
    63     bool
    64     prompt "binutils libraries for the target"
    65     depends on ! BARE_METAL
    66     depends on ! BACKEND
    67     default n
    68     help
    69       Some utilities may need binutils libraries to be available on
    70       the target, eg. oprofile.
    71 
    72 if BINUTILS_FOR_TARGET
    73 
    74 config BINUTILS_FOR_TARGET_IBERTY
    75     bool
    76     prompt "libiberty"
    77     default y
    78 
    79 config BINUTILS_FOR_TARGET_BFD
    80     bool
    81     prompt "libbfd"
    82     default y
    83 
    84 endif # BINUTILS_FOR_TARGET