config/libc/eglibc.in
author "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
Mon Apr 16 15:25:36 2012 +0200 (2012-04-16)
changeset 2941 13e40098fffc
parent 2591 491d62ac2017
child 2950 10cc39ae5c6b
permissions -rw-r--r--
cc/gcc: update Linaro GCC revisions to 2012.04

Update Linaro GCC with the latest available revisions.

The 4.7 revision is also released, but the infrastructure is not yet ready for
it in CT-NG.

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