config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 11:53:05 2012 +0100 (2012-12-26)
changeset 3142 6569f6a9060c
parent 3131 bd172b161ff8
child 3144 481658dd0e7f
permissions -rw-r--r--
all: remove versions marked obsolete

For major components, keep the latest version of each major releases.

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