config/libc/eglibc.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 852 c17bb66e2aa5
child 922 3f0456891349
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(-)
yann@787
     1
# eglibc options
yann@787
     2
yann@852
     3
comment "eglibc specific options"
yann@852
     4
yann@787
     5
choice
yann@787
     6
    bool
yann@787
     7
    prompt "eglibc version"
yann@787
     8
yann@787
     9
config EGLIBC_V_2_5
yann@787
    10
    bool
yann@787
    11
    prompt "2.5"
yann@787
    12
yann@787
    13
config EGLIBC_V_2_6
yann@787
    14
    bool
yann@787
    15
    prompt "2.6"
yann@787
    16
yann@787
    17
config EGLIBC_V_2_7
yann@787
    18
    bool
yann@787
    19
    prompt "2.7"
yann@787
    20
yann@787
    21
config EGLIBC_V_2_8
yann@787
    22
    bool
yann@787
    23
    prompt "2.8"
yann@787
    24
yann@787
    25
# CT_INSERT_VERSION_ABOVE
yann@787
    26
# Don't remove above line!
yann@865
    27
yann@865
    28
config EGLIBC_V_TRUNK
yann@865
    29
    bool
yann@865
    30
    prompt "'trunk'"
yann@865
    31
    help
yann@865
    32
      Selecting this will export the trunk of the eglibc subversion repository.
yann@865
    33
yann@787
    34
endchoice
yann@787
    35
yann@787
    36
config LIBC_VERSION
yann@787
    37
    string
yann@787
    38
    default "trunk" if EGLIBC_V_TRUNK
yann@787
    39
    default "2_5" if EGLIBC_V_2_5
yann@787
    40
    default "2_6" if EGLIBC_V_2_6
yann@787
    41
    default "2_7" if EGLIBC_V_2_7
yann@787
    42
    default "2_8" if EGLIBC_V_2_8
yann@787
    43
# CT_INSERT_VERSION_STRING_ABOVE
yann@787
    44
# Don't remove above line!
yann@787
    45
yann@787
    46
config EGLIBC_REVISION
yann@787
    47
    string
yann@787
    48
    prompt "Revision to use"
yann@787
    49
    default "HEAD"
yann@787
    50
    help
yann@787
    51
      Enter the revision of trunk you want to use.
yann@787
    52
      Default is HEAD.
yann@787
    53
      
yann@787
    54
      A revision argument can be one of:
yann@787
    55
          NUMBER       revision number
yann@787
    56
          '{' DATE '}' revision at start of the date (*)
yann@787
    57
          'HEAD'       latest in repository
yann@787
    58
      
yann@787
    59
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    60
          at all possible.
yann@787
    61
yann@787
    62
config EGLIBC_CHECKOUT
yann@787
    63
    bool
yann@787
    64
    prompt "checkout instead of export"
yann@787
    65
    default y if EGLIBC_V_TRUNK
yann@787
    66
    default n if ! EGLIBC_V_TRUNK
yann@787
    67
    help
yann@787
    68
      By default, the eglibc download will be an export of the subversion
yann@787
    69
      repository. If you say 'y' here, then the repository will instead be
yann@787
    70
      checked-out, so that you can update it later.
yann@787
    71
      
yann@787
    72
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
    73
      have to do that yourself.