config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 13:30:51 2012 +0100 (2012-12-26)
changeset 3145 598880dab0f3
parent 3144 481658dd0e7f
child 3148 882a7e02d3d5
permissions -rw-r--r--
libc/glibc: both glibc and eglibc have pkgversion and bugurl

Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

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 
    31 config LIBC_EGLIBC_V_2_14
    32     bool
    33     prompt "2_14"
    34 
    35 config LIBC_EGLIBC_V_2_13
    36     bool
    37     prompt "2_13"
    38 
    39 config LIBC_EGLIBC_V_2_12
    40     bool
    41     prompt "2_12"
    42 
    43 config LIBC_EGLIBC_V_2_11
    44     bool
    45     prompt "2_11"
    46 
    47 config LIBC_EGLIBC_V_2_10
    48     bool
    49     prompt "2_10"
    50 
    51 config LIBC_EGLIBC_V_2_9
    52     bool
    53     prompt "2_9"
    54 
    55 config LIBC_EGLIBC_V_TRUNK
    56     bool
    57     prompt "'trunk'"
    58     select LIBC_EGLIBC_2_16_or_later
    59     help
    60       Selecting this will export the trunk of the eglibc subversion repository.
    61 
    62 endchoice
    63 
    64 config LIBC_VERSION
    65     string
    66 # Don't remove next line
    67 # CT_INSERT_VERSION_STRING_BELOW
    68     default "2_16" if LIBC_EGLIBC_V_2_16
    69     default "2_15" if LIBC_EGLIBC_V_2_15
    70     default "2_14" if LIBC_EGLIBC_V_2_14
    71     default "2_13" if LIBC_EGLIBC_V_2_13
    72     default "2_12" if LIBC_EGLIBC_V_2_12
    73     default "2_11" if LIBC_EGLIBC_V_2_11
    74     default "2_10" if LIBC_EGLIBC_V_2_10
    75     default "2_9" if LIBC_EGLIBC_V_2_9
    76     default "trunk" if LIBC_EGLIBC_V_TRUNK
    77 
    78 config LIBC_EGLIBC_2_16_or_later
    79     bool
    80 
    81 if CONFIGURE_has_svn
    82 
    83 config EGLIBC_REVISION
    84     string
    85     prompt "Revision to use"
    86     default "HEAD"
    87     help
    88       Enter the revision of trunk you want to use.
    89       Default is HEAD.
    90       
    91       A revision argument can be one of:
    92           NUMBER       revision number
    93           '{' DATE '}' revision at start of the date (*)
    94           'HEAD'       latest in repository
    95       
    96       (*) If you want to use a date, please use ISO-8601 formats if
    97           at all possible.
    98 
    99 config EGLIBC_HTTP
   100     bool
   101     prompt "use http:// instead of svn://"
   102     help
   103       By default, when eglibc is downloaded it is checked out using
   104       svn://svn.eglibc.org. This option allows you to download eglibc
   105       from http://www.eglibc.org, if you are behind a proxy or firewall.
   106       If you are behind a proxy, don't forget to update your
   107       .subversion/servers file with your proxy info in [global].
   108 
   109 config EGLIBC_CHECKOUT
   110     bool
   111     prompt "checkout instead of export"
   112     default y if LIBC_EGLIBC_V_TRUNK
   113     help
   114       By default, the eglibc download will be an export of the subversion
   115       repository. If you say 'y' here, then the repository will instead be
   116       checked-out, so that you can update it later.
   117       
   118       Note that crosstool-NG will *not* update your working copy, you will
   119       have to do that yourself.
   120 
   121 endif # ! CONFIGURE_has_svn
   122 if ! CONFIGURE_has_svn
   123 
   124 comment "svn is missing. You'll have to either:"
   125 comment "|  - have a pre-downloaded local tarball"
   126 comment "|  - or have a LAN mirror with a pre-downloaded tarball"
   127 comment "otherwise you won't be able to download eglibc"
   128 
   129 endif # ! CONFIGURE_has_svn
   130 
   131 config EGLIBC_OPT_SIZE
   132     bool
   133     prompt "optimize eglibc for size (-Os)"
   134     help
   135       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   136       smaller but may make it slower.
   137 
   138 config EGLIBC_CUSTOM_CONFIG
   139     bool
   140     prompt "Use custom configuration file"
   141     help
   142       Use a custom configuration file to disable some features in the eglibc
   143       library. The configuration file options are described in detail in the
   144       option-groups.def file in the eglibc source directory.
   145 
   146 if EGLIBC_CUSTOM_CONFIG
   147     config EGLIBC_OPTION_GROUPS_FILE
   148         string
   149         prompt "Path to the option-groups configuration file"
   150         default ""
   151         help
   152           Path to the option groups configuration file.
   153 
   154     config EGLIBC_BUNDLED_NSS_CONFIG
   155         bool
   156         prompt "Use bundled NSS config file"
   157         default y
   158         help
   159           Use minimal nsswitch configuration file bundled in eglibc.
   160           This option is only meaningful when runtime nss configuration
   161           is disabled in the option groups file.
   162 
   163     config EGLIBC_NSS_CONFIG_FILE
   164         string
   165         prompt "Path to the NSS config file"
   166         default ""
   167         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   168         help
   169           Path to the nsswitch configuration file
   170 
   171     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   172         bool
   173         prompt "Use bundled NSS functions file"
   174         default y
   175         help
   176           Use minimal nsswitch functions file bundled in eglibc.
   177           This option is only meaningful when runtime nss configuration
   178           is disabled in the option groups file.
   179 
   180     config EGLIBC_NSS_FUNCTIONS_FILE
   181         string
   182         prompt "Path to the NSS functions file"
   183         default ""
   184         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   185         help
   186           Path to the nsswitch functions file
   187 endif