config/libc/eglibc.in
author Bryan Hundven <bryanhundven@gmail.com>
Sat Feb 12 17:31:12 2011 +0100 (2011-02-12)
changeset 2300 60d9591ed5bd
parent 2299 80c29dce43f2
child 2444 896cb0d36c1a
permissions -rw-r--r--
libc/eglibc: Make eglibc 2.11 and 2.12 not experimental

I haven't noticed the usual experimental testers complain about eglibc
2.11 or 2.12 being unstable. So stop marking them as experimental.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
     1 # eglibc options
     2 # depends on ! MINGW32 && ! 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_EGLIBC_V_2_13
    22     bool
    23     prompt "2_13"
    24     depends on EXPERIMENTAL
    25 
    26 config LIBC_EGLIBC_V_2_12
    27     bool
    28     prompt "2_12"
    29 
    30 config LIBC_EGLIBC_V_2_11
    31     bool
    32     prompt "2_11"
    33 
    34 config LIBC_EGLIBC_V_2_10
    35     bool
    36     prompt "2_10"
    37 
    38 config LIBC_EGLIBC_V_2_9
    39     bool
    40     prompt "2_9"
    41 
    42 config LIBC_EGLIBC_V_2_8
    43     bool
    44     prompt "2_8 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config LIBC_EGLIBC_V_2_7
    48     bool
    49     prompt "2_7 (OBSOLETE)"
    50     depends on OBSOLETE
    51 
    52 config LIBC_EGLIBC_V_2_6
    53     bool
    54     prompt "2_6 (OBSOLETE)"
    55     depends on OBSOLETE
    56 
    57 config LIBC_EGLIBC_V_2_5
    58     bool
    59     prompt "2_5 (OBSOLETE)"
    60     depends on OBSOLETE
    61 
    62 config LIBC_EGLIBC_V_TRUNK
    63     bool
    64     prompt "'trunk'"
    65     help
    66       Selecting this will export the trunk of the eglibc subversion repository.
    67 
    68 endchoice
    69 
    70 config LIBC_VERSION
    71     string
    72 # Don't remove next line
    73 # CT_INSERT_VERSION_STRING_BELOW
    74     default "2_13" if LIBC_EGLIBC_V_2_13
    75     default "2_12" if LIBC_EGLIBC_V_2_12
    76     default "2_11" if LIBC_EGLIBC_V_2_11
    77     default "2_10" if LIBC_EGLIBC_V_2_10
    78     default "2_9" if LIBC_EGLIBC_V_2_9
    79     default "2_8" if LIBC_EGLIBC_V_2_8
    80     default "2_7" if LIBC_EGLIBC_V_2_7
    81     default "2_6" if LIBC_EGLIBC_V_2_6
    82     default "2_5" if LIBC_EGLIBC_V_2_5
    83     default "trunk" if LIBC_EGLIBC_V_TRUNK
    84 
    85 config EGLIBC_REVISION
    86     string
    87     prompt "Revision to use"
    88     default "HEAD"
    89     help
    90       Enter the revision of trunk you want to use.
    91       Default is HEAD.
    92       
    93       A revision argument can be one of:
    94           NUMBER       revision number
    95           '{' DATE '}' revision at start of the date (*)
    96           'HEAD'       latest in repository
    97       
    98       (*) If you want to use a date, please use ISO-8601 formats if
    99           at all possible.
   100 
   101 config EGLIBC_CHECKOUT
   102     bool
   103     prompt "checkout instead of export"
   104     default y if LIBC_EGLIBC_V_TRUNK
   105     default n if ! LIBC_EGLIBC_V_TRUNK
   106     help
   107       By default, the eglibc download will be an export of the subversion
   108       repository. If you say 'y' here, then the repository will instead be
   109       checked-out, so that you can update it later.
   110       
   111       Note that crosstool-NG will *not* update your working copy, you will
   112       have to do that yourself.
   113 
   114 config EGLIBC_OPT_SIZE
   115     bool
   116     prompt "optimize eglibc for size (-Os)"
   117     help
   118       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   119       smaller but may make it slower.
   120 
   121 config EGLIBC_CUSTOM_CONFIG
   122     bool
   123     prompt "Use custom configuration file"
   124     default n
   125     help
   126       Use a custom configuration file to disable some features in the eglibc
   127       library. The configuration file options are described in detail in the
   128       option-groups.def file in the eglibc source directory.
   129 
   130 if EGLIBC_CUSTOM_CONFIG
   131     config EGLIBC_OPTION_GROUPS_FILE
   132         string
   133         prompt "Path to the option-groups configuration file"
   134         default ""
   135         help
   136           Path to the option groups configuration file.
   137 
   138     config EGLIBC_BUNDLED_NSS_CONFIG
   139         bool
   140         prompt "Use bundled NSS config file"
   141         default y
   142         help
   143           Use minimal nsswitch configuration file bundled in eglibc.
   144           This option is only meaningful when runtime nss configuration
   145           is disabled in the option groups file.
   146 
   147     config EGLIBC_NSS_CONFIG_FILE
   148         string
   149         prompt "Path to the NSS config file"
   150         default ""
   151         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   152         help
   153           Path to the nsswitch configuration file
   154 
   155     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   156         bool
   157         prompt "Use bundled NSS functions file"
   158         default y
   159         help
   160           Use minimal nsswitch functions file bundled in eglibc.
   161           This option is only meaningful when runtime nss configuration
   162           is disabled in the option groups file.
   163 
   164     config EGLIBC_NSS_FUNCTIONS_FILE
   165         string
   166         prompt "Path to the NSS functions file"
   167         default ""
   168         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   169         help
   170           Path to the nsswitch functions file
   171 endif