config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Mon Oct 07 00:16:38 2013 +0200 (2013-10-07)
changeset 3243 9838aecd6340
parent 3148 882a7e02d3d5
child 3251 ec603d1371b9
permissions -rw-r--r--
libc/eglibc: add latest version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # eglibc options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
     4 ##
     5 ## select LIBC_SUPPORT_NPTL
     6 ## select LIBC_SUPPORT_LINUXTHREADS
     7 ## select CC_CORE_PASSES_NEEDED
     8 ##
     9 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
    10 ## help that is designed to work well on embedded systems.  EGLIBC strives
    11 ## help to be source and binary compatible with GLIBC.  Its goals include
    12 ## help a reduced footprint, configurable components, and improved
    13 ## help cross-compilation support.  EGLIBC also includes some embedded ports
    14 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
    15 
    16 choice
    17     bool
    18     prompt "eglibc version"
    19 # Don't remove next line
    20 # CT_INSERT_VERSION_BELOW
    21 
    22 config LIBC_EGLIBC_V_2_18
    23     bool
    24     prompt "2_18"
    25     select LIBC_EGLIBC_2_16_or_later
    26 
    27 config LIBC_EGLIBC_V_2_17
    28     bool
    29     prompt "2_17"
    30     select LIBC_EGLIBC_2_16_or_later
    31 
    32 config LIBC_EGLIBC_V_2_16
    33     bool
    34     prompt "2_16"
    35     select LIBC_EGLIBC_2_16_or_later
    36 
    37 config LIBC_EGLIBC_V_2_15
    38     bool
    39     prompt "2_15"
    40 
    41 config LIBC_EGLIBC_V_2_14
    42     bool
    43     prompt "2_14"
    44 
    45 config LIBC_EGLIBC_V_2_13
    46     bool
    47     prompt "2_13"
    48 
    49 config LIBC_EGLIBC_V_2_12
    50     bool
    51     prompt "2_12"
    52 
    53 config LIBC_EGLIBC_V_2_11
    54     bool
    55     prompt "2_11"
    56 
    57 config LIBC_EGLIBC_V_2_10
    58     bool
    59     prompt "2_10"
    60 
    61 config LIBC_EGLIBC_V_2_9
    62     bool
    63     prompt "2_9"
    64 
    65 config LIBC_EGLIBC_V_TRUNK
    66     bool
    67     prompt "'trunk'"
    68     select LIBC_EGLIBC_2_16_or_later
    69     help
    70       Selecting this will export the trunk of the eglibc subversion repository.
    71 
    72 endchoice
    73 
    74 config LIBC_VERSION
    75     string
    76 # Don't remove next line
    77 # CT_INSERT_VERSION_STRING_BELOW
    78     default "2_18" if LIBC_EGLIBC_V_2_18
    79     default "2_17" if LIBC_EGLIBC_V_2_17
    80     default "2_16" if LIBC_EGLIBC_V_2_16
    81     default "2_15" if LIBC_EGLIBC_V_2_15
    82     default "2_14" if LIBC_EGLIBC_V_2_14
    83     default "2_13" if LIBC_EGLIBC_V_2_13
    84     default "2_12" if LIBC_EGLIBC_V_2_12
    85     default "2_11" if LIBC_EGLIBC_V_2_11
    86     default "2_10" if LIBC_EGLIBC_V_2_10
    87     default "2_9" if LIBC_EGLIBC_V_2_9
    88     default "trunk" if LIBC_EGLIBC_V_TRUNK
    89 
    90 config LIBC_EGLIBC_2_16_or_later
    91     bool
    92 
    93 if CONFIGURE_has_svn
    94 
    95 config EGLIBC_REVISION
    96     string
    97     prompt "Revision to use"
    98     default "HEAD"
    99     help
   100       Enter the revision of trunk you want to use.
   101       Default is HEAD.
   102       
   103       A revision argument can be one of:
   104           NUMBER       revision number
   105           '{' DATE '}' revision at start of the date (*)
   106           'HEAD'       latest in repository
   107       
   108       (*) If you want to use a date, please use ISO-8601 formats if
   109           at all possible.
   110 
   111 config EGLIBC_HTTP
   112     bool
   113     prompt "use http:// instead of svn://"
   114     help
   115       By default, when eglibc is downloaded it is checked out using
   116       svn://svn.eglibc.org. This option allows you to download eglibc
   117       from http://www.eglibc.org, if you are behind a proxy or firewall.
   118       If you are behind a proxy, don't forget to update your
   119       .subversion/servers file with your proxy info in [global].
   120 
   121 config EGLIBC_CHECKOUT
   122     bool
   123     prompt "checkout instead of export"
   124     default y if LIBC_EGLIBC_V_TRUNK
   125     help
   126       By default, the eglibc download will be an export of the subversion
   127       repository. If you say 'y' here, then the repository will instead be
   128       checked-out, so that you can update it later.
   129       
   130       Note that crosstool-NG will *not* update your working copy, you will
   131       have to do that yourself.
   132 
   133 endif # ! CONFIGURE_has_svn
   134 if ! CONFIGURE_has_svn
   135 
   136 comment "svn is missing. You'll have to either:"
   137 comment "|  - have a pre-downloaded local tarball"
   138 comment "|  - or have a LAN mirror with a pre-downloaded tarball"
   139 comment "otherwise you won't be able to download eglibc"
   140 
   141 endif # ! CONFIGURE_has_svn
   142 
   143 config EGLIBC_OPT_SIZE
   144     bool
   145     prompt "optimize eglibc for size (-Os)"
   146     help
   147       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   148       smaller but may make it slower.
   149 
   150 config EGLIBC_CUSTOM_CONFIG
   151     bool
   152     prompt "Use custom configuration file"
   153     help
   154       Use a custom configuration file to disable some features in the eglibc
   155       library. The configuration file options are described in detail in the
   156       option-groups.def file in the eglibc source directory.
   157 
   158 if EGLIBC_CUSTOM_CONFIG
   159     config EGLIBC_OPTION_GROUPS_FILE
   160         string
   161         prompt "Path to the option-groups configuration file"
   162         default ""
   163         help
   164           Path to the option groups configuration file.
   165 
   166     config EGLIBC_BUNDLED_NSS_CONFIG
   167         bool
   168         prompt "Use bundled NSS config file"
   169         default y
   170         help
   171           Use minimal nsswitch configuration file bundled in eglibc.
   172           This option is only meaningful when runtime nss configuration
   173           is disabled in the option groups file.
   174 
   175     config EGLIBC_NSS_CONFIG_FILE
   176         string
   177         prompt "Path to the NSS config file"
   178         default ""
   179         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   180         help
   181           Path to the nsswitch configuration file
   182 
   183     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   184         bool
   185         prompt "Use bundled NSS functions file"
   186         default y
   187         help
   188           Use minimal nsswitch functions file bundled in eglibc.
   189           This option is only meaningful when runtime nss configuration
   190           is disabled in the option groups file.
   191 
   192     config EGLIBC_NSS_FUNCTIONS_FILE
   193         string
   194         prompt "Path to the NSS functions file"
   195         default ""
   196         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   197         help
   198           Path to the nsswitch functions file
   199 endif