config/binutils/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 28 19:07:21 2010 +0100 (2010-12-28)
changeset 2243 1fb02a4ca444
parent 2226 13e4f7126cf7
child 2244 dc2d2342e4a9
permissions -rw-r--r--
binutils/binutils: add BINUTILS_2_21_or_later blind option

Add BINUTILS_2_21_or_later blind option. It will be used to add
conditional support for building 'gold' on versions that have it.

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_21
    12     bool
    13     depends on EXPERIMENTAL
    14     prompt "2.21"
    15     select BINUTILS_2_21_or_later
    16 
    17 config BINUTILS_V_2_20_1
    18     bool
    19     prompt "2.20.1"
    20 
    21 config BINUTILS_V_2_20
    22     bool
    23     prompt "2.20"
    24 
    25 config BINUTILS_V_2_19_1
    26     bool
    27     prompt "2.19.1"
    28 
    29 config BINUTILS_V_2_19
    30     bool
    31     prompt "2.19"
    32 
    33 config BINUTILS_V_2_18
    34     bool
    35     prompt "2.18"
    36 
    37 config BINUTILS_V_2_17
    38     bool
    39     prompt "2.17 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config BINUTILS_V_2_16_1
    43     bool
    44     prompt "2.16.1 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 endchoice
    48 
    49 config BINUTILS_VERSION
    50     string
    51 # Don't remove next line
    52 # CT_INSERT_VERSION_STRING_BELOW
    53     default "2.21" if BINUTILS_V_2_21
    54     default "2.20.1" if BINUTILS_V_2_20_1
    55     default "2.20" if BINUTILS_V_2_20
    56     default "2.19.1" if BINUTILS_V_2_19_1
    57     default "2.19" if BINUTILS_V_2_19
    58     default "2.18" if BINUTILS_V_2_18
    59     default "2.17" if BINUTILS_V_2_17
    60     default "2.16.1" if BINUTILS_V_2_16_1
    61 
    62 config BINUTILS_2_21_or_later
    63     bool
    64 
    65 config BINUTILS_EXTRA_CONFIG
    66     string
    67     prompt "binutils extra config"
    68     default ""
    69     help
    70       Extra flags passed onto ./configure when configuring
    71 
    72 config BINUTILS_FOR_TARGET
    73     bool
    74     prompt "binutils libraries for the target"
    75     depends on ! BARE_METAL
    76     depends on ! BACKEND
    77     default n
    78     help
    79       Some utilities may need binutils libraries to be available on
    80       the target, eg. oprofile.
    81 
    82 if BINUTILS_FOR_TARGET
    83 
    84 config BINUTILS_FOR_TARGET_IBERTY
    85     bool
    86     prompt "libiberty"
    87     default y
    88 
    89 config BINUTILS_FOR_TARGET_BFD
    90     bool
    91     prompt "libbfd"
    92     default y
    93 
    94 endif # BINUTILS_FOR_TARGET