config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 11 12:22:47 2008 +0000 (2008-08-11)
changeset 787 0725d7f8ab22
child 808 0949a87e1629
permissions -rw-r--r--
Merge the branches/eglibc stuff:
- Add support for eglibc

/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
yann@787
     1
# eglibc options
yann@787
     2
yann@787
     3
choice
yann@787
     4
    bool
yann@787
     5
    prompt "eglibc version"
yann@787
     6
yann@787
     7
config EGLIBC_V_TRUNK
yann@787
     8
    bool
yann@787
     9
    prompt "'trunk'"
yann@787
    10
    help
yann@787
    11
      Selecting this will export the trunk of the eglibc subversion repository.
yann@787
    12
yann@787
    13
config EGLIBC_V_2_5
yann@787
    14
    bool
yann@787
    15
    prompt "2.5"
yann@787
    16
yann@787
    17
config EGLIBC_V_2_6
yann@787
    18
    bool
yann@787
    19
    prompt "2.6"
yann@787
    20
yann@787
    21
config EGLIBC_V_2_7
yann@787
    22
    bool
yann@787
    23
    prompt "2.7"
yann@787
    24
yann@787
    25
config EGLIBC_V_2_8
yann@787
    26
    bool
yann@787
    27
    prompt "2.8"
yann@787
    28
yann@787
    29
# CT_INSERT_VERSION_ABOVE
yann@787
    30
# Don't remove above line!
yann@787
    31
endchoice
yann@787
    32
yann@787
    33
config LIBC_VERSION
yann@787
    34
    string
yann@787
    35
    default "trunk" if EGLIBC_V_TRUNK
yann@787
    36
    default "2_5" if EGLIBC_V_2_5
yann@787
    37
    default "2_6" if EGLIBC_V_2_6
yann@787
    38
    default "2_7" if EGLIBC_V_2_7
yann@787
    39
    default "2_8" if EGLIBC_V_2_8
yann@787
    40
# CT_INSERT_VERSION_STRING_ABOVE
yann@787
    41
# Don't remove above line!
yann@787
    42
yann@787
    43
config EGLIBC_REVISION
yann@787
    44
    string
yann@787
    45
    prompt "Revision to use"
yann@787
    46
    default "HEAD"
yann@787
    47
    help
yann@787
    48
      Enter the revision of trunk you want to use.
yann@787
    49
      Default is HEAD.
yann@787
    50
      
yann@787
    51
      A revision argument can be one of:
yann@787
    52
          NUMBER       revision number
yann@787
    53
          '{' DATE '}' revision at start of the date (*)
yann@787
    54
          'HEAD'       latest in repository
yann@787
    55
      
yann@787
    56
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    57
          at all possible.
yann@787
    58
yann@787
    59
config EGLIBC_CHECKOUT
yann@787
    60
    bool
yann@787
    61
    prompt "checkout instead of export"
yann@787
    62
    default y if EGLIBC_V_TRUNK
yann@787
    63
    default n if ! EGLIBC_V_TRUNK
yann@787
    64
    help
yann@787
    65
      By default, the eglibc download will be an export of the subversion
yann@787
    66
      repository. If you say 'y' here, then the repository will instead be
yann@787
    67
      checked-out, so that you can update it later.
yann@787
    68
      
yann@787
    69
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
    70
      have to do that yourself.
yann@787
    71
yann@787
    72
config LIBC_EGLIBC_EXTRA_CONFIG
yann@787
    73
    string
yann@787
    74
    prompt "eglibc extra config"
yann@787
    75
    default ""
yann@787
    76
    help
yann@787
    77
      Extra flags to pass onto ./configure when configuring eglibc.
yann@787
    78
yann@787
    79
      Eg.: --enable-static-nss
yann@787
    80
yann@787
    81
config LIBC_EGLIBC_EXTRA_CFLAGS
yann@787
    82
    string
yann@787
    83
    prompt "eglibc extra target CFLAGS"
yann@787
    84
    default ""
yann@787
    85
    help
yann@787
    86
      Extra target CFLAGS to use when building eglibc.
yann@787
    87
yann@787
    88
config LIBC_EXTRA_CC_ARGS
yann@787
    89
    string
yann@787
    90
    prompt "gcc extra flags"
yann@787
    91
    default ""
yann@787
    92
    help
yann@787
    93
      Extra flags to pass gcc when building eglibc.
yann@787
    94
yann@787
    95
      Seldom used, except for sparc64 which seems to need the flag -64
yann@787
    96
      to be passed onto gcc.
yann@787
    97
yann@787
    98
config LIBC_EGLIBC_USE_PORTS
yann@787
    99
    bool
yann@787
   100
    prompt "Use the ports addon"
yann@787
   101
    default n
yann@787
   102
    help
yann@787
   103
      The ports addon contains some architecture ports that are not available
yann@787
   104
      in the official glibc distribution.
yann@787
   105
      
yann@787
   106
      For example, this is the case for ARM with glibc >= 2.4
yann@787
   107
      
yann@787
   108
      Say n only if you're sure that your architecture is in the official
yann@787
   109
      glibc distribution for your chosen version.
yann@787
   110
yann@787
   111
config LIBC_ADDONS
yann@787
   112
    bool
yann@787
   113
    prompt "Pass extra addons list"
yann@787
   114
    default n
yann@787
   115
    help
yann@787
   116
      If you say Y here, you'll be able to give the list of addons you want to
yann@787
   117
      include in your C library.
yann@787
   118
yann@787
   119
config LIBC_ADDONS_LIST
yann@787
   120
    string
yann@787
   121
    prompt "Extra addons"
yann@787
   122
    default ""
yann@787
   123
    depends on LIBC_ADDONS
yann@787
   124
    help
yann@787
   125
      Extra addons to include in eglibc. Space separated list.
yann@787
   126
yann@787
   127
      You need to specify neither linuxthreads nor nptl, as they are added
yann@787
   128
      automagically for you depending on the threading model you choosed
yann@787
   129
      earlier.
yann@787
   130
      
yann@787
   131
      Eg.: crypt        (for very old glibces)