config/binutils/binutils.in
author Bob Dunlop <bob.dunlop@xyzzy.org.uk>
Tue Nov 09 10:44:29 2010 +0100 (2010-11-09)
branch1.9
changeset 2179 6224a410fb7f
parent 2012 aefc8799ef0c
child 2226 13e4f7126cf7
permissions -rw-r--r--
libc/eglibc: fix downloading

Since Subversion 1.6.13 was released, it is no longer possible
to checkout/export to the current working directory using '.'
(eg. "svn co bla://blabla/foo/bar ." no longer extracts the content
of bar into ./ but into ./bar).

Fix this by luring Subversion to extract into "$(pwd)", which has
the advantage of working both with all known versions so far.

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