config/libc/eglibc.in
author Arnaud Vrac <avrac@freebox.fr>
Fri Oct 09 16:22:09 2009 +0200 (2009-10-09)
changeset 1569 a4e30d311569
parent 1535 073d351bdcd3
child 1615 50b25816f5bb
permissions -rw-r--r--
eglibc: add support for user provided option groups

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