config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 22 23:20:18 2011 +0100 (2011-01-22)
changeset 2305 2ed26c646568
parent 2299 80c29dce43f2
child 2444 896cb0d36c1a
permissions -rw-r--r--
scripts: create the makeinfo wrapper before we set PATH

If we set PATH to the tools wrappers before we create the
makeinfo wrapper, then we may well wrap an existing wrapper
from a previous run.

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@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
bryanhundven@2239
   105
    default n if ! LIBC_EGLIBC_V_TRUNK
yann@787
   106
    help
yann@787
   107
      By default, the eglibc download will be an export of the subversion
yann@787
   108
      repository. If you say 'y' here, then the repository will instead be
yann@787
   109
      checked-out, so that you can update it later.
yann@787
   110
      
yann@787
   111
      Note that crosstool-NG will *not* update your working copy, you will
yann@787
   112
      have to do that yourself.
avrac@1569
   113
richard@1796
   114
config EGLIBC_OPT_SIZE
richard@1796
   115
    bool
richard@1796
   116
    prompt "optimize eglibc for size (-Os)"
richard@1796
   117
    help
richard@1796
   118
      Optimize eglibc for size using -Os instead of -O2. This will make eglibc
richard@1796
   119
      smaller but may make it slower.
richard@1796
   120
avrac@1569
   121
config EGLIBC_CUSTOM_CONFIG
avrac@1569
   122
    bool
avrac@1569
   123
    prompt "Use custom configuration file"
avrac@1569
   124
    default n
avrac@1569
   125
    help
avrac@1569
   126
      Use a custom configuration file to disable some features in the eglibc
avrac@1569
   127
      library. The configuration file options are described in detail in the
avrac@1569
   128
      option-groups.def file in the eglibc source directory.
avrac@1569
   129
avrac@1569
   130
if EGLIBC_CUSTOM_CONFIG
avrac@1569
   131
    config EGLIBC_OPTION_GROUPS_FILE
avrac@1569
   132
        string
avrac@1569
   133
        prompt "Path to the option-groups configuration file"
avrac@1569
   134
        default ""
avrac@1569
   135
        help
avrac@1569
   136
          Path to the option groups configuration file.
avrac@1569
   137
avrac@1569
   138
    config EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   139
        bool
avrac@1569
   140
        prompt "Use bundled NSS config file"
avrac@1569
   141
        default y
avrac@1569
   142
        help
avrac@1569
   143
          Use minimal nsswitch configuration file bundled in eglibc.
avrac@1569
   144
          This option is only meaningful when runtime nss configuration
avrac@1569
   145
          is disabled in the option groups file.
avrac@1569
   146
avrac@1569
   147
    config EGLIBC_NSS_CONFIG_FILE
avrac@1569
   148
        string
avrac@1569
   149
        prompt "Path to the NSS config file"
avrac@1569
   150
        default ""
avrac@1569
   151
        depends on !EGLIBC_BUNDLED_NSS_CONFIG
avrac@1569
   152
        help
avrac@1569
   153
          Path to the nsswitch configuration file
avrac@1569
   154
avrac@1569
   155
    config EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   156
        bool
avrac@1569
   157
        prompt "Use bundled NSS functions file"
avrac@1569
   158
        default y
avrac@1569
   159
        help
avrac@1569
   160
          Use minimal nsswitch functions file bundled in eglibc.
avrac@1569
   161
          This option is only meaningful when runtime nss configuration
avrac@1569
   162
          is disabled in the option groups file.
avrac@1569
   163
avrac@1569
   164
    config EGLIBC_NSS_FUNCTIONS_FILE
avrac@1569
   165
        string
avrac@1569
   166
        prompt "Path to the NSS functions file"
avrac@1569
   167
        default ""
avrac@1569
   168
        depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
avrac@1569
   169
        help
avrac@1569
   170
          Path to the nsswitch functions file
avrac@1569
   171
endif