config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 12 19:24:03 2010 +0100 (2010-01-12)
changeset 1761 88020b2c3246
parent 1569 a4e30d311569
child 1796 f1dc942a12c2
permissions -rw-r--r--
scripts/functions: change handling of nochdir

- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir
     1 # eglibc options
     2 # depends on ! BARE_METAL && ARCH_USE_MMU
     3 
     4 config LIBC_eglibc
     5     select LIBC_SUPPORT_NPTL
     6     select LIBC_SUPPORT_LINUXTHREADS
     7     help
     8       EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
     9       that is designed to work well on embedded systems.  EGLIBC strives
    10       to be source and binary compatible with GLIBC.  Its goals include
    11       a reduced footprint, configurable components, and improved
    12       cross-compilation support.  EGLIBC also includes some embedded ports
    13       (such as e500/spe) that are normally separate add-ons of GLIBC.
    14 
    15 choice
    16     bool
    17     prompt "eglibc version"
    18 # Don't remove next line
    19 # CT_INSERT_VERSION_BELOW
    20 
    21 config LIBC_V_2_10
    22     bool
    23     prompt "2_10"
    24 
    25 config EGLIBC_V_2_9
    26     bool
    27     prompt "2_9"
    28 
    29 config EGLIBC_V_2_8
    30     bool
    31     prompt "2_8 (OBSOLETE)"
    32     depends on OBSOLETE
    33 
    34 config EGLIBC_V_2_7
    35     bool
    36     prompt "2_7 (OBSOLETE)"
    37     depends on OBSOLETE
    38 
    39 config EGLIBC_V_2_6
    40     bool
    41     prompt "2_6 (OBSOLETE)"
    42     depends on OBSOLETE
    43 
    44 config EGLIBC_V_2_5
    45     bool
    46     prompt "2_5 (OBSOLETE)"
    47     depends on OBSOLETE
    48 
    49 config EGLIBC_V_TRUNK
    50     bool
    51     prompt "'trunk'"
    52     help
    53       Selecting this will export the trunk of the eglibc subversion repository.
    54 
    55 endchoice
    56 
    57 config LIBC_VERSION
    58     string
    59 # Don't remove next line
    60 # CT_INSERT_VERSION_STRING_BELOW
    61     default "2_10" if LIBC_V_2_10
    62     default "2_9" if EGLIBC_V_2_9
    63     default "2_8" if EGLIBC_V_2_8
    64     default "2_7" if EGLIBC_V_2_7
    65     default "2_6" if EGLIBC_V_2_6
    66     default "2_5" if EGLIBC_V_2_5
    67     default "trunk" if EGLIBC_V_TRUNK
    68 
    69 config EGLIBC_REVISION
    70     string
    71     prompt "Revision to use"
    72     default "HEAD"
    73     help
    74       Enter the revision of trunk you want to use.
    75       Default is HEAD.
    76       
    77       A revision argument can be one of:
    78           NUMBER       revision number
    79           '{' DATE '}' revision at start of the date (*)
    80           'HEAD'       latest in repository
    81       
    82       (*) If you want to use a date, please use ISO-8601 formats if
    83           at all possible.
    84 
    85 config EGLIBC_CHECKOUT
    86     bool
    87     prompt "checkout instead of export"
    88     default y if EGLIBC_V_TRUNK
    89     default n if ! EGLIBC_V_TRUNK
    90     help
    91       By default, the eglibc download will be an export of the subversion
    92       repository. If you say 'y' here, then the repository will instead be
    93       checked-out, so that you can update it later.
    94       
    95       Note that crosstool-NG will *not* update your working copy, you will
    96       have to do that yourself.
    97 
    98 config EGLIBC_CUSTOM_CONFIG
    99     bool
   100     prompt "Use custom configuration file"
   101     default n
   102     help
   103       Use a custom configuration file to disable some features in the eglibc
   104       library. The configuration file options are described in detail in the
   105       option-groups.def file in the eglibc source directory.
   106 
   107 if EGLIBC_CUSTOM_CONFIG
   108     config EGLIBC_OPTION_GROUPS_FILE
   109         string
   110         prompt "Path to the option-groups configuration file"
   111         default ""
   112         help
   113           Path to the option groups configuration file.
   114 
   115     config EGLIBC_BUNDLED_NSS_CONFIG
   116         bool
   117         prompt "Use bundled NSS config file"
   118         default y
   119         help
   120           Use minimal nsswitch configuration file bundled in eglibc.
   121           This option is only meaningful when runtime nss configuration
   122           is disabled in the option groups file.
   123 
   124     config EGLIBC_NSS_CONFIG_FILE
   125         string
   126         prompt "Path to the NSS config file"
   127         default ""
   128         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   129         help
   130           Path to the nsswitch configuration file
   131 
   132     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   133         bool
   134         prompt "Use bundled NSS functions file"
   135         default y
   136         help
   137           Use minimal nsswitch functions file bundled in eglibc.
   138           This option is only meaningful when runtime nss configuration
   139           is disabled in the option groups file.
   140 
   141     config EGLIBC_NSS_FUNCTIONS_FILE
   142         string
   143         prompt "Path to the NSS functions file"
   144         default ""
   145         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   146         help
   147           Path to the nsswitch functions file
   148 endif