config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 23 14:48:10 2008 +0000 (2008-09-23)
changeset 872 fd4bf138f08f
parent 850 ef8549b58b6f
child 921 53917beac93d
permissions -rw-r--r--
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.

/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
     1 # binutils options
     2 
     3 menu "binutils"
     4 
     5 config BINUTILS_VERSION
     6     string
     7 
     8 choice
     9     bool
    10     prompt "binutils version"
    11 
    12 config BINUTILS_V_2_14
    13     bool
    14     prompt "2.14 (OBSOLETE)"
    15     depends on OBSOLETE
    16 
    17 config BINUTILS_V_2_15
    18     bool
    19     prompt "2.15 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config BINUTILS_V_2_16_1
    23     bool
    24     prompt "2.16.1"
    25 
    26 config BINUTILS_V_2_17
    27     bool
    28     prompt "2.17"
    29 
    30 config BINUTILS_V_2_18
    31     bool
    32     prompt "2.18"
    33 
    34 config BINUTILS_V_2_18_50_0_4
    35     bool
    36     prompt "2.18.50.0.4 (EXPERIMENTAL)"
    37     depends on EXPERIMENTAL
    38 
    39 config BINUTILS_V_2_18_50_0_6
    40     bool
    41     prompt "2.18.50.0.6 (EXPERIMENTAL)"
    42     depends on EXPERIMENTAL
    43 
    44 config BINUTILS_V_2_18_50_0_7
    45     bool
    46     prompt "2.18.50.0.7 (EXPERIMENTAL)"
    47     depends on EXPERIMENTAL
    48 
    49 config BINUTILS_V_2_18_50_0_8
    50     bool
    51     prompt "2.18.50.0.8 (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53 
    54 config BINUTILS_V_2_18_50_0_9
    55     bool
    56     prompt "2.18.50.0.9 (EXPERIMENTAL)"
    57     depends on EXPERIMENTAL
    58 
    59 # CT_INSERT_VERSION_ABOVE
    60 # Don't remove above line!
    61 endchoice
    62 
    63 config BINUTILS_VERSION
    64     string
    65     default "2.14" if BINUTILS_V_2_14
    66     default "2.15" if BINUTILS_V_2_15
    67     default "2.16.1" if BINUTILS_V_2_16_1
    68     default "2.17" if BINUTILS_V_2_17
    69     default "2.18" if BINUTILS_V_2_18
    70     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    71     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    72     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    73     default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
    74     default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
    75 # CT_INSERT_VERSION_STRING_ABOVE
    76 # Don't remove above line!
    77 
    78 config BINUTILS_EXTRA_CONFIG
    79     string
    80     prompt "binutils extra config"
    81     default ""
    82     help
    83       Extra flags passed onto ./configure when configuring
    84 
    85 config BINUTILS_FOR_TARGET
    86     bool
    87     prompt "binutils libraries for the target"
    88     depends on ! BARE_METAL
    89     default n
    90     help
    91       Some utilities may need binutils libraries to be available on
    92       the target, eg. oprofile.
    93 
    94 if BINUTILS_FOR_TARGET
    95 
    96 config BINUTILS_FOR_TARGET_IBERTY
    97     bool
    98     prompt "libiberty"
    99     default y
   100 
   101 config BINUTILS_FOR_TARGET_BFD
   102     bool
   103     prompt "libbfd"
   104     default y
   105 
   106 endif # BINUTILS_FOR_TARGET
   107 
   108 endmenu