yann@787: # eglibc options bartvdrmeulen@2017: # depends on ! MINGW32 && ! BARE_METAL && ARCH_USE_MMU yann@787: yann@922: config LIBC_eglibc yann@922: select LIBC_SUPPORT_NPTL yann@922: select LIBC_SUPPORT_LINUXTHREADS yann@922: help yann@922: EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC yann@922: that is designed to work well on embedded systems. EGLIBC strives yann@922: to be source and binary compatible with GLIBC. Its goals include yann@922: a reduced footprint, configurable components, and improved yann@922: cross-compilation support. EGLIBC also includes some embedded ports yann@922: (such as e500/spe) that are normally separate add-ons of GLIBC. yann@852: yann@787: choice yann@787: bool yann@787: prompt "eglibc version" yann@1535: # Don't remove next line yann@1535: # CT_INSERT_VERSION_BELOW yann@787: bryanhundven@2156: config EGLIBC_V_2_12 bryanhundven@2156: bool bryanhundven@2156: prompt "2_12" bryanhundven@2156: depends on EXPERIMENTAL bryanhundven@2156: bryanhundven@2156: config EGLIBC_V_2_11 bryanhundven@2156: bool bryanhundven@2156: prompt "2_11" bryanhundven@2156: depends on EXPERIMENTAL bryanhundven@2156: bryanhundven@2156: config EGLIBC_V_2_10 yann@787: bool yann@1534: prompt "2_10" yann@1534: yann@1534: config EGLIBC_V_2_9 yann@1534: bool yann@1534: prompt "2_9" yann@1534: yann@1534: config EGLIBC_V_2_8 yann@1534: bool yann@1615: prompt "2_8 (OBSOLETE)" yann@1615: depends on OBSOLETE yann@1534: yann@1534: config EGLIBC_V_2_7 yann@1534: bool yann@1615: prompt "2_7 (OBSOLETE)" yann@1615: depends on OBSOLETE yann@787: yann@787: config EGLIBC_V_2_6 yann@787: bool yann@1615: prompt "2_6 (OBSOLETE)" yann@1615: depends on OBSOLETE yann@787: yann@1534: config EGLIBC_V_2_5 yann@787: bool yann@1615: prompt "2_5 (OBSOLETE)" yann@1615: depends on OBSOLETE yann@1438: yann@865: config EGLIBC_V_TRUNK yann@865: bool yann@865: prompt "'trunk'" yann@865: help yann@865: Selecting this will export the trunk of the eglibc subversion repository. yann@865: yann@787: endchoice yann@787: yann@787: config LIBC_VERSION yann@787: string yann@1535: # Don't remove next line yann@1535: # CT_INSERT_VERSION_STRING_BELOW bryanhundven@2156: default "2_12" if EGLIBC_V_2_12 bryanhundven@2156: default "2_11" if EGLIBC_V_2_11 bryanhundven@2156: default "2_10" if EGLIBC_V_2_10 yann@1534: default "2_9" if EGLIBC_V_2_9 yann@1534: default "2_8" if EGLIBC_V_2_8 yann@1534: default "2_7" if EGLIBC_V_2_7 yann@1534: default "2_6" if EGLIBC_V_2_6 yann@787: default "2_5" if EGLIBC_V_2_5 yann@1535: default "trunk" if EGLIBC_V_TRUNK yann@787: yann@787: config EGLIBC_REVISION yann@787: string yann@787: prompt "Revision to use" yann@787: default "HEAD" yann@787: help yann@787: Enter the revision of trunk you want to use. yann@787: Default is HEAD. yann@787: yann@787: A revision argument can be one of: yann@787: NUMBER revision number yann@787: '{' DATE '}' revision at start of the date (*) yann@787: 'HEAD' latest in repository yann@787: yann@787: (*) If you want to use a date, please use ISO-8601 formats if yann@787: at all possible. yann@787: yann@787: config EGLIBC_CHECKOUT yann@787: bool yann@787: prompt "checkout instead of export" yann@787: default y if EGLIBC_V_TRUNK yann@787: default n if ! EGLIBC_V_TRUNK yann@787: help yann@787: By default, the eglibc download will be an export of the subversion yann@787: repository. If you say 'y' here, then the repository will instead be yann@787: checked-out, so that you can update it later. yann@787: yann@787: Note that crosstool-NG will *not* update your working copy, you will yann@787: have to do that yourself. avrac@1569: richard@1796: config EGLIBC_OPT_SIZE richard@1796: bool richard@1796: prompt "optimize eglibc for size (-Os)" richard@1796: help richard@1796: Optimize eglibc for size using -Os instead of -O2. This will make eglibc richard@1796: smaller but may make it slower. richard@1796: avrac@1569: config EGLIBC_CUSTOM_CONFIG avrac@1569: bool avrac@1569: prompt "Use custom configuration file" avrac@1569: default n avrac@1569: help avrac@1569: Use a custom configuration file to disable some features in the eglibc avrac@1569: library. The configuration file options are described in detail in the avrac@1569: option-groups.def file in the eglibc source directory. avrac@1569: avrac@1569: if EGLIBC_CUSTOM_CONFIG avrac@1569: config EGLIBC_OPTION_GROUPS_FILE avrac@1569: string avrac@1569: prompt "Path to the option-groups configuration file" avrac@1569: default "" avrac@1569: help avrac@1569: Path to the option groups configuration file. avrac@1569: avrac@1569: config EGLIBC_BUNDLED_NSS_CONFIG avrac@1569: bool avrac@1569: prompt "Use bundled NSS config file" avrac@1569: default y avrac@1569: help avrac@1569: Use minimal nsswitch configuration file bundled in eglibc. avrac@1569: This option is only meaningful when runtime nss configuration avrac@1569: is disabled in the option groups file. avrac@1569: avrac@1569: config EGLIBC_NSS_CONFIG_FILE avrac@1569: string avrac@1569: prompt "Path to the NSS config file" avrac@1569: default "" avrac@1569: depends on !EGLIBC_BUNDLED_NSS_CONFIG avrac@1569: help avrac@1569: Path to the nsswitch configuration file avrac@1569: avrac@1569: config EGLIBC_BUNDLED_NSS_FUNCTIONS avrac@1569: bool avrac@1569: prompt "Use bundled NSS functions file" avrac@1569: default y avrac@1569: help avrac@1569: Use minimal nsswitch functions file bundled in eglibc. avrac@1569: This option is only meaningful when runtime nss configuration avrac@1569: is disabled in the option groups file. avrac@1569: avrac@1569: config EGLIBC_NSS_FUNCTIONS_FILE avrac@1569: string avrac@1569: prompt "Path to the NSS functions file" avrac@1569: default "" avrac@1569: depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS avrac@1569: help avrac@1569: Path to the nsswitch functions file avrac@1569: endif