config/libc/eglibc.in
author Arnaud Vrac <avrac@freebox.fr>
Fri Oct 09 16:22:09 2009 +0200 (2009-10-09)
changeset 1569 a4e30d311569
parent 1535 073d351bdcd3
child 1615 50b25816f5bb
permissions -rw-r--r--
eglibc: add support for user provided option groups

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
     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"
    32 
    33 config EGLIBC_V_2_7
    34     bool
    35     prompt "2_7"
    36 
    37 config EGLIBC_V_2_6
    38     bool
    39     prompt "2_6"
    40 
    41 config EGLIBC_V_2_5
    42     bool
    43     prompt "2_5"
    44 
    45 config EGLIBC_V_TRUNK
    46     bool
    47     prompt "'trunk'"
    48     help
    49       Selecting this will export the trunk of the eglibc subversion repository.
    50 
    51 endchoice
    52 
    53 config LIBC_VERSION
    54     string
    55 # Don't remove next line
    56 # CT_INSERT_VERSION_STRING_BELOW
    57     default "2_10" if LIBC_V_2_10
    58     default "2_9" if EGLIBC_V_2_9
    59     default "2_8" if EGLIBC_V_2_8
    60     default "2_7" if EGLIBC_V_2_7
    61     default "2_6" if EGLIBC_V_2_6
    62     default "2_5" if EGLIBC_V_2_5
    63     default "trunk" if EGLIBC_V_TRUNK
    64 
    65 config EGLIBC_REVISION
    66     string
    67     prompt "Revision to use"
    68     default "HEAD"
    69     help
    70       Enter the revision of trunk you want to use.
    71       Default is HEAD.
    72       
    73       A revision argument can be one of:
    74           NUMBER       revision number
    75           '{' DATE '}' revision at start of the date (*)
    76           'HEAD'       latest in repository
    77       
    78       (*) If you want to use a date, please use ISO-8601 formats if
    79           at all possible.
    80 
    81 config EGLIBC_CHECKOUT
    82     bool
    83     prompt "checkout instead of export"
    84     default y if EGLIBC_V_TRUNK
    85     default n if ! EGLIBC_V_TRUNK
    86     help
    87       By default, the eglibc download will be an export of the subversion
    88       repository. If you say 'y' here, then the repository will instead be
    89       checked-out, so that you can update it later.
    90       
    91       Note that crosstool-NG will *not* update your working copy, you will
    92       have to do that yourself.
    93 
    94 config EGLIBC_CUSTOM_CONFIG
    95     bool
    96     prompt "Use custom configuration file"
    97     default n
    98     help
    99       Use a custom configuration file to disable some features in the eglibc
   100       library. The configuration file options are described in detail in the
   101       option-groups.def file in the eglibc source directory.
   102 
   103 if EGLIBC_CUSTOM_CONFIG
   104     config EGLIBC_OPTION_GROUPS_FILE
   105         string
   106         prompt "Path to the option-groups configuration file"
   107         default ""
   108         help
   109           Path to the option groups configuration file.
   110 
   111     config EGLIBC_BUNDLED_NSS_CONFIG
   112         bool
   113         prompt "Use bundled NSS config file"
   114         default y
   115         help
   116           Use minimal nsswitch configuration file bundled in eglibc.
   117           This option is only meaningful when runtime nss configuration
   118           is disabled in the option groups file.
   119 
   120     config EGLIBC_NSS_CONFIG_FILE
   121         string
   122         prompt "Path to the NSS config file"
   123         default ""
   124         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   125         help
   126           Path to the nsswitch configuration file
   127 
   128     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   129         bool
   130         prompt "Use bundled NSS functions file"
   131         default y
   132         help
   133           Use minimal nsswitch functions file bundled in eglibc.
   134           This option is only meaningful when runtime nss configuration
   135           is disabled in the option groups file.
   136 
   137     config EGLIBC_NSS_FUNCTIONS_FILE
   138         string
   139         prompt "Path to the NSS functions file"
   140         default ""
   141         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   142         help
   143           Path to the nsswitch functions file
   144 endif