config/libc/eglibc.in
author Bryan Hundven <bryanhundven@gmail.com>
Sun Jan 02 22:33:04 2011 +0100 (2011-01-02)
changeset 2239 bc439f6537ae
parent 2156 3fb8b4acdc4a
child 2299 80c29dce43f2
permissions -rw-r--r--
libc/eglibc: normalize eglibc hidden version names

In the previous patches to glibc and uclibc, we standardized on hidden
version names:

LIBC_<LIBC NAME>_V_<VERSION>

This patch updates EGLIBC to be the same for consistency to:

LIBC_EGLIBC_V_<VERSION>

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