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