config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Dec 23 14:32:20 2012 +0100 (2012-12-23)
changeset 3140 d9e78e89b3f6
parent 3112 6cb56b3f2d34
child 3142 6569f6a9060c
permissions -rw-r--r--
arch: re-order the entries in the float choice

Re-order the three entries in the float choice, in a more sensible
order, ie:
- all hard-float options come first, then soft-float
- options that use the FPU are marked so: hard and softfp
- options that do not use the FPU are marked so: software

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # eglibc options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
     4 ##
     5 ## select LIBC_SUPPORT_NPTL
     6 ## select LIBC_SUPPORT_LINUXTHREADS
     7 ## select CC_CORE_PASSES_NEEDED
     8 ##
     9 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
    10 ## help that is designed to work well on embedded systems.  EGLIBC strives
    11 ## help to be source and binary compatible with GLIBC.  Its goals include
    12 ## help a reduced footprint, configurable components, and improved
    13 ## help cross-compilation support.  EGLIBC also includes some embedded ports
    14 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
    15 
    16 choice
    17     bool
    18     prompt "eglibc version"
    19 # Don't remove next line
    20 # CT_INSERT_VERSION_BELOW
    21 
    22 config LIBC_EGLIBC_V_2_16
    23     bool
    24     prompt "2_16"
    25     select LIBC_EGLIBC_2_16_or_later
    26 
    27 config LIBC_EGLIBC_V_2_15
    28     bool
    29     prompt "2_15"
    30     select LIBC_EGLIBC_2_15_or_later
    31 
    32 config LIBC_EGLIBC_V_2_14
    33     bool
    34     prompt "2_14"
    35     select LIBC_EGLIBC_2_14_or_later
    36 
    37 config LIBC_EGLIBC_V_2_13
    38     bool
    39     prompt "2_13"
    40     select LIBC_EGLIBC_2_13_or_later
    41 
    42 config LIBC_EGLIBC_V_2_12
    43     bool
    44     prompt "2_12"
    45     select LIBC_EGLIBC_2_12_or_later
    46 
    47 config LIBC_EGLIBC_V_2_11
    48     bool
    49     prompt "2_11"
    50     select LIBC_EGLIBC_2_11_or_later
    51 
    52 config LIBC_EGLIBC_V_2_10
    53     bool
    54     prompt "2_10"
    55     select LIBC_EGLIBC_2_10_or_later
    56 
    57 config LIBC_EGLIBC_V_2_9
    58     bool
    59     prompt "2_9"
    60     select LIBC_EGLIBC_2_9_or_later
    61 
    62 config LIBC_EGLIBC_V_2_8
    63     bool
    64     prompt "2_8 (OBSOLETE)"
    65     depends on OBSOLETE
    66 
    67 config LIBC_EGLIBC_V_2_7
    68     bool
    69     prompt "2_7 (OBSOLETE)"
    70     depends on OBSOLETE
    71 
    72 config LIBC_EGLIBC_V_2_6
    73     bool
    74     prompt "2_6 (OBSOLETE)"
    75     depends on OBSOLETE
    76 
    77 config LIBC_EGLIBC_V_2_5
    78     bool
    79     prompt "2_5 (OBSOLETE)"
    80     depends on OBSOLETE
    81 
    82 config LIBC_EGLIBC_V_TRUNK
    83     bool
    84     prompt "'trunk'"
    85     select LIBC_EGLIBC_2_14_or_later
    86     help
    87       Selecting this will export the trunk of the eglibc subversion repository.
    88 
    89 endchoice
    90 
    91 config LIBC_VERSION
    92     string
    93 # Don't remove next line
    94 # CT_INSERT_VERSION_STRING_BELOW
    95     default "2_16" if LIBC_EGLIBC_V_2_16
    96     default "2_15" if LIBC_EGLIBC_V_2_15
    97     default "2_14" if LIBC_EGLIBC_V_2_14
    98     default "2_13" if LIBC_EGLIBC_V_2_13
    99     default "2_12" if LIBC_EGLIBC_V_2_12
   100     default "2_11" if LIBC_EGLIBC_V_2_11
   101     default "2_10" if LIBC_EGLIBC_V_2_10
   102     default "2_9" if LIBC_EGLIBC_V_2_9
   103     default "2_8" if LIBC_EGLIBC_V_2_8
   104     default "2_7" if LIBC_EGLIBC_V_2_7
   105     default "2_6" if LIBC_EGLIBC_V_2_6
   106     default "2_5" if LIBC_EGLIBC_V_2_5
   107     default "trunk" if LIBC_EGLIBC_V_TRUNK
   108 
   109 config LIBC_EGLIBC_2_16_or_later
   110     bool
   111     select LIBC_EGLIBC_2_15_or_later
   112 
   113 config LIBC_EGLIBC_2_15_or_later
   114     bool
   115     select LIBC_EGLIBC_2_14_or_later
   116 
   117 config LIBC_EGLIBC_2_14_or_later
   118     bool
   119     select LIBC_EGLIBC_2_13_or_later
   120 
   121 config LIBC_EGLIBC_2_13_or_later
   122     bool
   123     select LIBC_EGLIBC_2_12_or_later
   124 
   125 config LIBC_EGLIBC_2_12_or_later
   126     bool
   127     select LIBC_EGLIBC_2_11_or_later
   128 
   129 config LIBC_EGLIBC_2_11_or_later
   130     bool
   131     select LIBC_EGLIBC_2_10_or_later
   132 
   133 config LIBC_EGLIBC_2_10_or_later
   134     bool
   135     select LIBC_EGLIBC_2_9_or_later
   136 
   137 config LIBC_EGLIBC_2_9_or_later
   138     bool
   139     select LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
   140 
   141 config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
   142     bool
   143 
   144 if CONFIGURE_has_svn
   145 
   146 config EGLIBC_REVISION
   147     string
   148     prompt "Revision to use"
   149     default "HEAD"
   150     help
   151       Enter the revision of trunk you want to use.
   152       Default is HEAD.
   153       
   154       A revision argument can be one of:
   155           NUMBER       revision number
   156           '{' DATE '}' revision at start of the date (*)
   157           'HEAD'       latest in repository
   158       
   159       (*) If you want to use a date, please use ISO-8601 formats if
   160           at all possible.
   161 
   162 config EGLIBC_HTTP
   163     bool
   164     prompt "use http:// instead of svn://"
   165     help
   166       By default, when eglibc is downloaded it is checked out using
   167       svn://svn.eglibc.org. This option allows you to download eglibc
   168       from http://www.eglibc.org, if you are behind a proxy or firewall.
   169       If you are behind a proxy, don't forget to update your
   170       .subversion/servers file with your proxy info in [global].
   171 
   172 config EGLIBC_CHECKOUT
   173     bool
   174     prompt "checkout instead of export"
   175     default y if LIBC_EGLIBC_V_TRUNK
   176     help
   177       By default, the eglibc download will be an export of the subversion
   178       repository. If you say 'y' here, then the repository will instead be
   179       checked-out, so that you can update it later.
   180       
   181       Note that crosstool-NG will *not* update your working copy, you will
   182       have to do that yourself.
   183 
   184 endif # ! CONFIGURE_has_svn
   185 if ! CONFIGURE_has_svn
   186 
   187 comment "svn is missing. You'll have to either:"
   188 comment "|  - have a pre-downloaded local tarball"
   189 comment "|  - or have a LAN mirror with a pre-downloaded tarball"
   190 comment "otherwise you won't be able to download eglibc"
   191 
   192 endif # ! CONFIGURE_has_svn
   193 
   194 config EGLIBC_OPT_SIZE
   195     bool
   196     prompt "optimize eglibc for size (-Os)"
   197     help
   198       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   199       smaller but may make it slower.
   200 
   201 config EGLIBC_CUSTOM_CONFIG
   202     bool
   203     prompt "Use custom configuration file"
   204     help
   205       Use a custom configuration file to disable some features in the eglibc
   206       library. The configuration file options are described in detail in the
   207       option-groups.def file in the eglibc source directory.
   208 
   209 if EGLIBC_CUSTOM_CONFIG
   210     config EGLIBC_OPTION_GROUPS_FILE
   211         string
   212         prompt "Path to the option-groups configuration file"
   213         default ""
   214         help
   215           Path to the option groups configuration file.
   216 
   217     config EGLIBC_BUNDLED_NSS_CONFIG
   218         bool
   219         prompt "Use bundled NSS config file"
   220         default y
   221         help
   222           Use minimal nsswitch configuration file bundled in eglibc.
   223           This option is only meaningful when runtime nss configuration
   224           is disabled in the option groups file.
   225 
   226     config EGLIBC_NSS_CONFIG_FILE
   227         string
   228         prompt "Path to the NSS config file"
   229         default ""
   230         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   231         help
   232           Path to the nsswitch configuration file
   233 
   234     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   235         bool
   236         prompt "Use bundled NSS functions file"
   237         default y
   238         help
   239           Use minimal nsswitch functions file bundled in eglibc.
   240           This option is only meaningful when runtime nss configuration
   241           is disabled in the option groups file.
   242 
   243     config EGLIBC_NSS_FUNCTIONS_FILE
   244         string
   245         prompt "Path to the NSS functions file"
   246         default ""
   247         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   248         help
   249           Path to the nsswitch functions file
   250 endif