config/libc/eglibc.in
author Arnaud Lacombe <lacombar@gmail.com>
Tue Aug 03 06:17:51 2010 +0200 (2010-08-03)
changeset 2064 f5ebe8c429dc
parent 1796 f1dc942a12c2
child 2156 3fb8b4acdc4a
permissions -rw-r--r--
libc/uClibc: add uClibc 0.9.30.3

This version has been released a couple of month ago, but it never reached
crosstool-ng tree. This may be linked to the fact that the current 0.9.30.2,
once patched, has nothing much different from 0.9.30.3, released.

I'm not including any patch with this upgrade, on purpose.

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