config/libc/eglibc.in
author Bryan Hundven <bryanhundven@gmail.com>
Sat Feb 12 17:30:53 2011 +0100 (2011-02-12)
changeset 2299 80c29dce43f2
parent 2239 bc439f6537ae
child 2300 60d9591ed5bd
permissions -rw-r--r--
libc/eglibc: Add 2.13 branch

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
yann@787
     1
# eglibc options
bartvdrmeulen@2017
     2
# depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU
yann@787
     3
yann@922
     4
config LIBC_eglibc
yann@922
     5
    select LIBC_SUPPORT_NPTL
yann@922
     6
    select LIBC_SUPPORT_LINUXTHREADS
yann@922
     7
    help
yann@922
     8
      EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
yann@922
     9
      that is designed to work well on embedded systems.  EGLIBC strives
yann@922
    10
      to be source and binary compatible with GLIBC.  Its goals include
yann@922
    11
      a reduced footprint, configurable components, and improved
yann@922
    12
      cross-compilation support.  EGLIBC also includes some embedded ports
yann@922
    13
      (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
    depends on EXPERIMENTAL
bryanhundven@2156
    30
bryanhundven@2239
    31
config LIBC_EGLIBC_V_2_11
bryanhundven@2156
    32
    bool
bryanhundven@2156
    33
    prompt "2_11"
bryanhundven@2156
    34
    depends on EXPERIMENTAL
bryanhundven@2156
    35
bryanhundven@2239
    36
config LIBC_EGLIBC_V_2_10
yann@787
    37
    bool
yann@1534
    38
    prompt "2_10"
yann@1534
    39
bryanhundven@2239
    40
config LIBC_EGLIBC_V_2_9
yann@1534
    41
    bool
yann@1534
    42
    prompt "2_9"
yann@1534
    43
bryanhundven@2239
    44
config LIBC_EGLIBC_V_2_8
yann@1534
    45
    bool
yann@1615
    46
    prompt "2_8 (OBSOLETE)"
yann@1615
    47
    depends on OBSOLETE
yann@1534
    48
bryanhundven@2239
    49
config LIBC_EGLIBC_V_2_7
yann@1534
    50
    bool
yann@1615
    51
    prompt "2_7 (OBSOLETE)"
yann@1615
    52
    depends on OBSOLETE
yann@787
    53
bryanhundven@2239
    54
config LIBC_EGLIBC_V_2_6
yann@787
    55
    bool
yann@1615
    56
    prompt "2_6 (OBSOLETE)"
yann@1615
    57
    depends on OBSOLETE
yann@787
    58
bryanhundven@2239
    59
config LIBC_EGLIBC_V_2_5
yann@787
    60
    bool
yann@1615
    61
    prompt "2_5 (OBSOLETE)"
yann@1615
    62
    depends on OBSOLETE
yann@1438
    63
bryanhundven@2239
    64
config LIBC_EGLIBC_V_TRUNK
yann@865
    65
    bool
yann@865
    66
    prompt "'trunk'"
yann@865
    67
    help
yann@865
    68
      Selecting this will export the trunk of the eglibc subversion repository.
yann@865
    69
yann@787
    70
endchoice
yann@787
    71
yann@787
    72
config LIBC_VERSION
yann@787
    73
    string
yann@1535
    74
# Don't remove next line
yann@1535
    75
# CT_INSERT_VERSION_STRING_BELOW
bryanhundven@2299
    76
    default "2_13" if LIBC_EGLIBC_V_2_13
bryanhundven@2239
    77
    default "2_12" if LIBC_EGLIBC_V_2_12
bryanhundven@2239
    78
    default "2_11" if LIBC_EGLIBC_V_2_11
bryanhundven@2239
    79
    default "2_10" if LIBC_EGLIBC_V_2_10
bryanhundven@2239
    80
    default "2_9" if LIBC_EGLIBC_V_2_9
bryanhundven@2239
    81
    default "2_8" if LIBC_EGLIBC_V_2_8
bryanhundven@2239
    82
    default "2_7" if LIBC_EGLIBC_V_2_7
bryanhundven@2239
    83
    default "2_6" if LIBC_EGLIBC_V_2_6
bryanhundven@2239
    84
    default "2_5" if LIBC_EGLIBC_V_2_5
bryanhundven@2239
    85
    default "trunk" if LIBC_EGLIBC_V_TRUNK
yann@787
    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
yann@787
   103
config EGLIBC_CHECKOUT
yann@787
   104
    bool
yann@787
   105
    prompt "checkout instead of export"
bryanhundven@2239
   106
    default y if LIBC_EGLIBC_V_TRUNK
bryanhundven@2239
   107
    default n if ! LIBC_EGLIBC_V_TRUNK
yann@787
   108
    help
yann@787
   109
      By default, the eglibc download will be an export of the subversion
yann@787
   110
      repository. If you say 'y' here, then the repository will instead be
yann@787
   111
      checked-out, so that you can update it later.
yann@787
   112
      
yann@787
   113
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
   114
      have to do that yourself.
avrac@1569
   115
richard@1796
   116
config EGLIBC_OPT_SIZE
richard@1796
   117
    bool
richard@1796
   118
    prompt "optimize eglibc for size (-Os)"
richard@1796
   119
    help
richard@1796
   120
      Optimize eglibc for size using -Os instead of -O2. This will make eglibc
richard@1796
   121
      smaller but may make it slower.
richard@1796
   122
avrac@1569
   123
config EGLIBC_CUSTOM_CONFIG
avrac@1569
   124
    bool
avrac@1569
   125
    prompt "Use custom configuration file"
avrac@1569
   126
    default n
avrac@1569
   127
    help
avrac@1569
   128
      Use a custom configuration file to disable some features in the eglibc
avrac@1569
   129
      library. The configuration file options are described in detail in the
avrac@1569
   130
      option-groups.def file in the eglibc source directory.
avrac@1569
   131
avrac@1569
   132
if EGLIBC_CUSTOM_CONFIG
avrac@1569
   133
    config EGLIBC_OPTION_GROUPS_FILE
avrac@1569
   134
        string
avrac@1569
   135
        prompt "Path to the option-groups configuration file"
avrac@1569
   136
        default ""
avrac@1569
   137
        help
avrac@1569
   138
          Path to the option groups configuration file.
avrac@1569
   139
avrac@1569
   140
    config EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   141
        bool
avrac@1569
   142
        prompt "Use bundled NSS config file"
avrac@1569
   143
        default y
avrac@1569
   144
        help
avrac@1569
   145
          Use minimal nsswitch configuration file bundled in eglibc.
avrac@1569
   146
          This option is only meaningful when runtime nss configuration
avrac@1569
   147
          is disabled in the option groups file.
avrac@1569
   148
avrac@1569
   149
    config EGLIBC_NSS_CONFIG_FILE
avrac@1569
   150
        string
avrac@1569
   151
        prompt "Path to the NSS config file"
avrac@1569
   152
        default ""
avrac@1569
   153
        depends on !EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   154
        help
avrac@1569
   155
          Path to the nsswitch configuration file
avrac@1569
   156
avrac@1569
   157
    config EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   158
        bool
avrac@1569
   159
        prompt "Use bundled NSS functions file"
avrac@1569
   160
        default y
avrac@1569
   161
        help
avrac@1569
   162
          Use minimal nsswitch functions file bundled in eglibc.
avrac@1569
   163
          This option is only meaningful when runtime nss configuration
avrac@1569
   164
          is disabled in the option groups file.
avrac@1569
   165
avrac@1569
   166
    config EGLIBC_NSS_FUNCTIONS_FILE
avrac@1569
   167
        string
avrac@1569
   168
        prompt "Path to the NSS functions file"
avrac@1569
   169
        default ""
avrac@1569
   170
        depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   171
        help
avrac@1569
   172
          Path to the nsswitch functions file
avrac@1569
   173
endif