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