config/libc/glibc-eglibc-common.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 26 16:47:47 2008 +0000 (2008-08-26)
changeset 808 0949a87e1629
child 810 5d357e239b62
permissions -rw-r--r--
Commonalise options common to both glibc and eglibc.

/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +-
/trunk/config/libc/glibc.in | 63 2 61 0 +---------------------------------
/trunk/config/libc/eglibc.in | 61 1 60 0 +--------------------------------
/trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 +
/trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++
5 files changed, 76 insertions(+), 124 deletions(-)
     1 # This file contains the common configuration options
     2 # that apply to both glibc and eglibc.
     3 #
     4 # Please note:
     5 # the symlink is a hack around the fact that mconf can not parse
     6 # the same file more than once, and errors out if it is the case.
     7 # If mconf is updated to accept multiple inclusion of the same
     8 # file, then the symlink can go (and the includers be updated).
     9 
    10 config LIBC_GLIBC_EXTRA_CONFIG
    11     string
    12     prompt "extra config"
    13     default ""
    14     help
    15       Extra flags to pass onto ./configure when configuring.
    16 
    17       Eg.: --enable-static-nss
    18 
    19 config LIBC_GLIBC_EXTRA_CFLAGS
    20     string
    21     prompt "extra target CFLAGS"
    22     default ""
    23     help
    24       Extra target CFLAGS to use when building.
    25 
    26 config LIBC_EXTRA_CC_ARGS
    27     string
    28     prompt "gcc extra flags"
    29     default ""
    30     help
    31       Extra flags to pass gcc when building.
    32 
    33       Seldom used, except for sparc64 which seems to need the flag -64
    34       to be passed onto gcc.
    35 
    36 config LIBC_GLIBC_USE_PORTS
    37     bool
    38     prompt "Use the ports addon"
    39     default n
    40     help
    41       The ports addon contains some architecture ports that are not available
    42       in the official distribution.
    43 
    44       For example, this is the case for ARM with for 2.4 and above.
    45 
    46       Say n only if you're sure that your architecture is in the official
    47       distribution for your chosen version.
    48 
    49 config LIBC_ADDONS
    50     bool
    51     prompt "Pass extra addons list"
    52     default n
    53     help
    54       If you say Y here, you'll be able to give the list of addons you want to
    55       include in your C library.
    56 
    57 config LIBC_ADDONS_LIST
    58     string
    59     prompt "Extra addons"
    60     default ""
    61     depends on LIBC_ADDONS
    62     help
    63       Extra addons to include. Space separated list.
    64 
    65       You need to specify neither linuxthreads nor nptl, as they are added
    66       automagically for you depending on the threading model you choosed
    67       earlier.
    68 
    69       Eg.: crypt        (for very old libces)