config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 21 22:00:52 2008 +0000 (2008-05-21)
changeset 527 4ac12179ef23
parent 475 150c918bcb7b
child 647 390c269d3757
permissions -rw-r--r--
Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.

/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 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 # CT_INSERT_VERSION_ABOVE
    50 # Don't remove above line!
    51 endchoice
    52 
    53 config BINUTILS_VERSION
    54     string
    55     default "2.14" if BINUTILS_V_2_14
    56     default "2.15" if BINUTILS_V_2_15
    57     default "2.16.1" if BINUTILS_V_2_16_1
    58     default "2.17" if BINUTILS_V_2_17
    59     default "2.18" if BINUTILS_V_2_18
    60     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    61     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    62     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    63 # CT_INSERT_VERSION_STRING_ABOVE
    64 # Don't remove above line!
    65 
    66 config BINUTILS_EXTRA_CONFIG
    67     string
    68     prompt "binutils extra config"
    69     default ""
    70     help
    71       Extra flags passed onto ./configure when configuring
    72 
    73 config BINUTILS_FOR_TARGET
    74     bool
    75     prompt "binutils libraries for the target"
    76     default n
    77     help
    78       Some utilities may need binutils libraries to be available on
    79       the target, eg. oprofile.
    80 
    81 if BINUTILS_FOR_TARGET
    82 
    83 config BINUTILS_FOR_TARGET_IBERTY
    84     bool
    85     prompt "libiberty"
    86     default y
    87 
    88 config BINUTILS_FOR_TARGET_BFD
    89     bool
    90     prompt "libbfd"
    91     default y
    92 
    93 endif # BINUTILS_FOR_TARGET
    94 
    95 endmenu