config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 13:30:51 2012 +0100 (2012-12-26)
changeset 3145 598880dab0f3
parent 3144 481658dd0e7f
child 3148 882a7e02d3d5
permissions -rw-r--r--
libc/glibc: both glibc and eglibc have pkgversion and bugurl

Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

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