config/libc/eglibc.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Tue May 31 20:12:35 2011 +0200 (2011-05-31)
changeset 2487 481cd34691f0
parent 2444 896cb0d36c1a
child 2489 b7c9f410704f
permissions -rw-r--r--
gcc: promote PKGVERSION and BUGURL options to toolchain level

This patch promotes the PKGVERSION and BUGURL options to toolchain level so that
all toolchain components supporting them can benefit from them.

These options are passed to configure through --with-pkgversion and
--with-bugurl.

They are supported by binutils 2.18+, gcc 4.3+, eglibc 2.9+ and gdb 7.0+.

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@2299
    21
config LIBC_EGLIBC_V_2_13
bryanhundven@2299
    22
    bool
bryanhundven@2299
    23
    prompt "2_13"
bryanhundven@2299
    24
    depends on EXPERIMENTAL
bryanhundven@2299
    25
bryanhundven@2239
    26
config LIBC_EGLIBC_V_2_12
bryanhundven@2156
    27
    bool
bryanhundven@2156
    28
    prompt "2_12"
bryanhundven@2156
    29
bryanhundven@2239
    30
config LIBC_EGLIBC_V_2_11
bryanhundven@2156
    31
    bool
bryanhundven@2156
    32
    prompt "2_11"
bryanhundven@2156
    33
bryanhundven@2239
    34
config LIBC_EGLIBC_V_2_10
yann@787
    35
    bool
yann@1534
    36
    prompt "2_10"
yann@1534
    37
bryanhundven@2239
    38
config LIBC_EGLIBC_V_2_9
yann@1534
    39
    bool
yann@1534
    40
    prompt "2_9"
yann@1534
    41
bryanhundven@2239
    42
config LIBC_EGLIBC_V_2_8
yann@1534
    43
    bool
yann@1615
    44
    prompt "2_8 (OBSOLETE)"
yann@1615
    45
    depends on OBSOLETE
yann@1534
    46
bryanhundven@2239
    47
config LIBC_EGLIBC_V_2_7
yann@1534
    48
    bool
yann@1615
    49
    prompt "2_7 (OBSOLETE)"
yann@1615
    50
    depends on OBSOLETE
yann@787
    51
bryanhundven@2239
    52
config LIBC_EGLIBC_V_2_6
yann@787
    53
    bool
yann@1615
    54
    prompt "2_6 (OBSOLETE)"
yann@1615
    55
    depends on OBSOLETE
yann@787
    56
bryanhundven@2239
    57
config LIBC_EGLIBC_V_2_5
yann@787
    58
    bool
yann@1615
    59
    prompt "2_5 (OBSOLETE)"
yann@1615
    60
    depends on OBSOLETE
yann@1438
    61
bryanhundven@2239
    62
config LIBC_EGLIBC_V_TRUNK
yann@865
    63
    bool
yann@865
    64
    prompt "'trunk'"
yann@865
    65
    help
yann@865
    66
      Selecting this will export the trunk of the eglibc subversion repository.
yann@865
    67
yann@787
    68
endchoice
yann@787
    69
yann@787
    70
config LIBC_VERSION
yann@787
    71
    string
yann@1535
    72
# Don't remove next line
yann@1535
    73
# CT_INSERT_VERSION_STRING_BELOW
bryanhundven@2299
    74
    default "2_13" if LIBC_EGLIBC_V_2_13
bryanhundven@2239
    75
    default "2_12" if LIBC_EGLIBC_V_2_12
bryanhundven@2239
    76
    default "2_11" if LIBC_EGLIBC_V_2_11
bryanhundven@2239
    77
    default "2_10" if LIBC_EGLIBC_V_2_10
bryanhundven@2239
    78
    default "2_9" if LIBC_EGLIBC_V_2_9
bryanhundven@2239
    79
    default "2_8" if LIBC_EGLIBC_V_2_8
bryanhundven@2239
    80
    default "2_7" if LIBC_EGLIBC_V_2_7
bryanhundven@2239
    81
    default "2_6" if LIBC_EGLIBC_V_2_6
bryanhundven@2239
    82
    default "2_5" if LIBC_EGLIBC_V_2_5
bryanhundven@2239
    83
    default "trunk" if LIBC_EGLIBC_V_TRUNK
yann@787
    84
yann@787
    85
config EGLIBC_REVISION
yann@787
    86
    string
yann@787
    87
    prompt "Revision to use"
yann@787
    88
    default "HEAD"
yann@787
    89
    help
yann@787
    90
      Enter the revision of trunk you want to use.
yann@787
    91
      Default is HEAD.
yann@787
    92
      
yann@787
    93
      A revision argument can be one of:
yann@787
    94
          NUMBER       revision number
yann@787
    95
          '{' DATE '}' revision at start of the date (*)
yann@787
    96
          'HEAD'       latest in repository
yann@787
    97
      
yann@787
    98
      (*) If you want to use a date, please use ISO-8601 formats if
yann@787
    99
          at all possible.
yann@787
   100
yann@787
   101
config EGLIBC_CHECKOUT
yann@787
   102
    bool
yann@787
   103
    prompt "checkout instead of export"
bryanhundven@2239
   104
    default y if LIBC_EGLIBC_V_TRUNK
yann@787
   105
    help
yann@787
   106
      By default, the eglibc download will be an export of the subversion
yann@787
   107
      repository. If you say 'y' here, then the repository will instead be
yann@787
   108
      checked-out, so that you can update it later.
yann@787
   109
      
yann@787
   110
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
   111
      have to do that yourself.
avrac@1569
   112
richard@1796
   113
config EGLIBC_OPT_SIZE
richard@1796
   114
    bool
richard@1796
   115
    prompt "optimize eglibc for size (-Os)"
richard@1796
   116
    help
richard@1796
   117
      Optimize eglibc for size using -Os instead of -O2. This will make eglibc
richard@1796
   118
      smaller but may make it slower.
richard@1796
   119
avrac@1569
   120
config EGLIBC_CUSTOM_CONFIG
avrac@1569
   121
    bool
avrac@1569
   122
    prompt "Use custom configuration file"
avrac@1569
   123
    help
avrac@1569
   124
      Use a custom configuration file to disable some features in the eglibc
avrac@1569
   125
      library. The configuration file options are described in detail in the
avrac@1569
   126
      option-groups.def file in the eglibc source directory.
avrac@1569
   127
avrac@1569
   128
if EGLIBC_CUSTOM_CONFIG
avrac@1569
   129
    config EGLIBC_OPTION_GROUPS_FILE
avrac@1569
   130
        string
avrac@1569
   131
        prompt "Path to the option-groups configuration file"
avrac@1569
   132
        default ""
avrac@1569
   133
        help
avrac@1569
   134
          Path to the option groups configuration file.
avrac@1569
   135
avrac@1569
   136
    config EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   137
        bool
avrac@1569
   138
        prompt "Use bundled NSS config file"
avrac@1569
   139
        default y
avrac@1569
   140
        help
avrac@1569
   141
          Use minimal nsswitch configuration file bundled in eglibc.
avrac@1569
   142
          This option is only meaningful when runtime nss configuration
avrac@1569
   143
          is disabled in the option groups file.
avrac@1569
   144
avrac@1569
   145
    config EGLIBC_NSS_CONFIG_FILE
avrac@1569
   146
        string
avrac@1569
   147
        prompt "Path to the NSS config file"
avrac@1569
   148
        default ""
avrac@1569
   149
        depends on !EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   150
        help
avrac@1569
   151
          Path to the nsswitch configuration file
avrac@1569
   152
avrac@1569
   153
    config EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   154
        bool
avrac@1569
   155
        prompt "Use bundled NSS functions file"
avrac@1569
   156
        default y
avrac@1569
   157
        help
avrac@1569
   158
          Use minimal nsswitch functions file bundled in eglibc.
avrac@1569
   159
          This option is only meaningful when runtime nss configuration
avrac@1569
   160
          is disabled in the option groups file.
avrac@1569
   161
avrac@1569
   162
    config EGLIBC_NSS_FUNCTIONS_FILE
avrac@1569
   163
        string
avrac@1569
   164
        prompt "Path to the NSS functions file"
avrac@1569
   165
        default ""
avrac@1569
   166
        depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   167
        help
avrac@1569
   168
          Path to the nsswitch functions file
avrac@1569
   169
endif