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