config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 12:15:10 2012 +0100 (2012-12-26)
changeset 3144 481658dd0e7f
parent 3142 6569f6a9060c
child 3145 598880dab0f3
permissions -rw-r--r--
libc/eglibc: remove now superfluous config knobs

All eglibc versions we now have support pkgversion and bugurl.

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
benoit@2489
    81
config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
benoit@2489
    82
    bool
yann@3144
    83
    default y
benoit@2489
    84
yann@2591
    85
if CONFIGURE_has_svn
yann@2591
    86
yann@787
    87
config EGLIBC_REVISION
yann@787
    88
    string
yann@787
    89
    prompt "Revision to use"
yann@787
    90
    default "HEAD"
yann@787
    91
    help
yann@787
    92
      Enter the revision of trunk you want to use.
yann@787
    93
      Default is HEAD.
yann@787
    94
      
yann@787
    95
      A revision argument can be one of:
yann@787
    96
          NUMBER       revision number
yann@787
    97
          '{' DATE '}' revision at start of the date (*)
yann@787
    98
          'HEAD'       latest in repository
yann@787
    99
      
yann@787
   100
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
   101
          at all possible.
yann@787
   102
bryanhundven@2520
   103
config EGLIBC_HTTP
bryanhundven@2520
   104
    bool
bryanhundven@2520
   105
    prompt "use http:// instead of svn://"
bryanhundven@2520
   106
    help
bryanhundven@2520
   107
      By default, when eglibc is downloaded it is checked out using
bryanhundven@2520
   108
      svn://svn.eglibc.org. This option allows you to download eglibc
bryanhundven@2520
   109
      from http://www.eglibc.org, if you are behind a proxy or firewall.
bryanhundven@2520
   110
      If you are behind a proxy, don't forget to update your
bryanhundven@2520
   111
      .subversion/servers file with your proxy info in [global].
bryanhundven@2520
   112
yann@787
   113
config EGLIBC_CHECKOUT
yann@787
   114
    bool
yann@787
   115
    prompt "checkout instead of export"
bryanhundven@2239
   116
    default y if LIBC_EGLIBC_V_TRUNK
yann@787
   117
    help
yann@787
   118
      By default, the eglibc download will be an export of the subversion
yann@787
   119
      repository. If you say 'y' here, then the repository will instead be
yann@787
   120
      checked-out, so that you can update it later.
yann@787
   121
      
yann@787
   122
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
   123
      have to do that yourself.
avrac@1569
   124
yann@2591
   125
endif # ! CONFIGURE_has_svn
yann@2591
   126
if ! CONFIGURE_has_svn
yann@2591
   127
yann@2591
   128
comment "svn is missing. You'll have to either:"
yann@2591
   129
comment "|  - have a pre-downloaded local tarball"
yann@2591
   130
comment "|  - or have a LAN mirror with a pre-downloaded tarball"
yann@2591
   131
comment "otherwise you won't be able to download eglibc"
yann@2591
   132
yann@2591
   133
endif # ! CONFIGURE_has_svn
yann@2591
   134
richard@1796
   135
config EGLIBC_OPT_SIZE
richard@1796
   136
    bool
richard@1796
   137
    prompt "optimize eglibc for size (-Os)"
richard@1796
   138
    help
richard@1796
   139
      Optimize eglibc for size using -Os instead of -O2. This will make eglibc
richard@1796
   140
      smaller but may make it slower.
richard@1796
   141
avrac@1569
   142
config EGLIBC_CUSTOM_CONFIG
avrac@1569
   143
    bool
avrac@1569
   144
    prompt "Use custom configuration file"
avrac@1569
   145
    help
avrac@1569
   146
      Use a custom configuration file to disable some features in the eglibc
avrac@1569
   147
      library. The configuration file options are described in detail in the
avrac@1569
   148
      option-groups.def file in the eglibc source directory.
avrac@1569
   149
avrac@1569
   150
if EGLIBC_CUSTOM_CONFIG
avrac@1569
   151
    config EGLIBC_OPTION_GROUPS_FILE
avrac@1569
   152
        string
avrac@1569
   153
        prompt "Path to the option-groups configuration file"
avrac@1569
   154
        default ""
avrac@1569
   155
        help
avrac@1569
   156
          Path to the option groups configuration file.
avrac@1569
   157
avrac@1569
   158
    config EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   159
        bool
avrac@1569
   160
        prompt "Use bundled NSS config file"
avrac@1569
   161
        default y
avrac@1569
   162
        help
avrac@1569
   163
          Use minimal nsswitch configuration file bundled in eglibc.
avrac@1569
   164
          This option is only meaningful when runtime nss configuration
avrac@1569
   165
          is disabled in the option groups file.
avrac@1569
   166
avrac@1569
   167
    config EGLIBC_NSS_CONFIG_FILE
avrac@1569
   168
        string
avrac@1569
   169
        prompt "Path to the NSS config file"
avrac@1569
   170
        default ""
avrac@1569
   171
        depends on !EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   172
        help
avrac@1569
   173
          Path to the nsswitch configuration file
avrac@1569
   174
avrac@1569
   175
    config EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   176
        bool
avrac@1569
   177
        prompt "Use bundled NSS functions file"
avrac@1569
   178
        default y
avrac@1569
   179
        help
avrac@1569
   180
          Use minimal nsswitch functions file bundled in eglibc.
avrac@1569
   181
          This option is only meaningful when runtime nss configuration
avrac@1569
   182
          is disabled in the option groups file.
avrac@1569
   183
avrac@1569
   184
    config EGLIBC_NSS_FUNCTIONS_FILE
avrac@1569
   185
        string
avrac@1569
   186
        prompt "Path to the NSS functions file"
avrac@1569
   187
        default ""
avrac@1569
   188
        depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   189
        help
avrac@1569
   190
          Path to the nsswitch functions file
avrac@1569
   191
endif