config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
parent 2156 3fb8b4acdc4a
child 2299 80c29dce43f2
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

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