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