config/binutils/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 27 20:06:46 2009 +0100 (2009-10-27)
changeset 1614 3f76cdbceb6e
parent 1609 68f9c68e7bc9
child 1615 50b25816f5bb
permissions -rw-r--r--
config/binutils: add latest version 2.20

Also add patchset vampirised from Gentoo.
yann@1345
     1
# binutils options
yann@1345
     2
yann@1345
     3
comment "GNU binutils"
yann@1345
     4
yann@1345
     5
choice
yann@1345
     6
    bool
yann@1345
     7
    prompt "binutils version"
yann@1535
     8
# Don't remove next line
yann@1535
     9
# CT_INSERT_VERSION_BELOW
yann@1345
    10
yann@1614
    11
config BINUTILS_V_2_20
yann@1614
    12
    bool
yann@1614
    13
    prompt "2.20"
yann@1614
    14
yann@1534
    15
config BINUTILS_V_2_19_1
yann@1345
    16
    bool
yann@1534
    17
    prompt "2.19.1"
yann@1345
    18
yann@1534
    19
config BINUTILS_V_2_19
yann@1345
    20
    bool
yann@1534
    21
    prompt "2.19"
yann@1345
    22
yann@1534
    23
config BINUTILS_V_2_18
yann@1345
    24
    bool
yann@1534
    25
    prompt "2.18"
yann@1345
    26
yann@1534
    27
config BINUTILS_V_2_17
yann@1345
    28
    bool
yann@1534
    29
    prompt "2.17"
yann@1345
    30
yann@1534
    31
config BINUTILS_V_2_16_1
yann@1345
    32
    bool
yann@1534
    33
    prompt "2.16.1"
yann@1345
    34
yann@1345
    35
endchoice
yann@1345
    36
yann@1345
    37
config BINUTILS_VERSION
yann@1345
    38
    string
yann@1535
    39
# Don't remove next line
yann@1535
    40
# CT_INSERT_VERSION_STRING_BELOW
yann@1614
    41
    default "2.20" if BINUTILS_V_2_20
yann@1534
    42
    default "2.19.1" if BINUTILS_V_2_19_1
yann@1534
    43
    default "2.19" if BINUTILS_V_2_19
yann@1534
    44
    default "2.18" if BINUTILS_V_2_18
yann@1534
    45
    default "2.17" if BINUTILS_V_2_17
yann@1534
    46
    default "2.16.1" if BINUTILS_V_2_16_1
yann@1345
    47
yann@1345
    48
config BINUTILS_EXTRA_CONFIG
yann@1345
    49
    string
yann@1345
    50
    prompt "binutils extra config"
yann@1345
    51
    default ""
yann@1345
    52
    help
yann@1345
    53
      Extra flags passed onto ./configure when configuring
yann@1345
    54
yann@1345
    55
config BINUTILS_FOR_TARGET
yann@1345
    56
    bool
yann@1345
    57
    prompt "binutils libraries for the target"
yann@1345
    58
    depends on ! BARE_METAL
yann@1345
    59
    default n
yann@1345
    60
    help
yann@1345
    61
      Some utilities may need binutils libraries to be available on
yann@1345
    62
      the target, eg. oprofile.
yann@1345
    63
yann@1345
    64
if BINUTILS_FOR_TARGET
yann@1345
    65
yann@1345
    66
config BINUTILS_FOR_TARGET_IBERTY
yann@1345
    67
    bool
yann@1345
    68
    prompt "libiberty"
yann@1345
    69
    default y
yann@1345
    70
yann@1345
    71
config BINUTILS_FOR_TARGET_BFD
yann@1345
    72
    bool
yann@1345
    73
    prompt "libbfd"
yann@1345
    74
    default y
yann@1345
    75
yann@1345
    76
endif # BINUTILS_FOR_TARGET