config/binutils/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 20 18:42:34 2010 +0100 (2010-03-20)
branch1.6
changeset 1883 eec58bf93a1c
parent 1614 3f76cdbceb6e
child 1807 4201b5881a7e
permissions -rw-r--r--
cc/gcc: fix building for powerpc for the 4.4.x series

Reported by: Thomas Petazzoni
http://sourceware.org/ml/crossgcc/2010-03/msg00057.html

Discussions:
http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html
http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html
http://ibot.rikers.org/%23uclibc/20100316.html.gz
(search for "copysignl", by kos_tom, blindvt and y_morin)
(transplanted from 76b1923da63d2e3b8e9010b6138e33f6a99720a8)
     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 (OBSOLETE)"
    30     depends on OBSOLETE
    31 
    32 config BINUTILS_V_2_16_1
    33     bool
    34     prompt "2.16.1 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 endchoice
    38 
    39 config BINUTILS_VERSION
    40     string
    41 # Don't remove next line
    42 # CT_INSERT_VERSION_STRING_BELOW
    43     default "2.20" if BINUTILS_V_2_20
    44     default "2.19.1" if BINUTILS_V_2_19_1
    45     default "2.19" if BINUTILS_V_2_19
    46     default "2.18" if BINUTILS_V_2_18
    47     default "2.17" if BINUTILS_V_2_17
    48     default "2.16.1" if BINUTILS_V_2_16_1
    49 
    50 config BINUTILS_EXTRA_CONFIG
    51     string
    52     prompt "binutils extra config"
    53     default ""
    54     help
    55       Extra flags passed onto ./configure when configuring
    56 
    57 config BINUTILS_FOR_TARGET
    58     bool
    59     prompt "binutils libraries for the target"
    60     depends on ! BARE_METAL
    61     default n
    62     help
    63       Some utilities may need binutils libraries to be available on
    64       the target, eg. oprofile.
    65 
    66 if BINUTILS_FOR_TARGET
    67 
    68 config BINUTILS_FOR_TARGET_IBERTY
    69     bool
    70     prompt "libiberty"
    71     default y
    72 
    73 config BINUTILS_FOR_TARGET_BFD
    74     bool
    75     prompt "libbfd"
    76     default y
    77 
    78 endif # BINUTILS_FOR_TARGET