yann@787: # eglibc options yann@787: diorcet@3112: ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU yann@2444: ## yann@2444: ## select LIBC_SUPPORT_NPTL yann@2444: ## select LIBC_SUPPORT_LINUXTHREADS diorcet@3131: ## select CC_CORE_PASSES_NEEDED yann@2444: ## yann@2444: ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC yann@2444: ## help that is designed to work well on embedded systems. EGLIBC strives yann@2444: ## help to be source and binary compatible with GLIBC. Its goals include yann@2444: ## help a reduced footprint, configurable components, and improved yann@2444: ## help cross-compilation support. EGLIBC also includes some embedded ports yann@2444: ## help (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@3014: config LIBC_EGLIBC_V_2_16 bryanhundven@3014: bool bryanhundven@3014: prompt "2_16" bryanhundven@3014: select LIBC_EGLIBC_2_16_or_later bryanhundven@3014: bryanhundven@2909: config LIBC_EGLIBC_V_2_15 bryanhundven@2909: bool bryanhundven@2909: prompt "2_15" bryanhundven@2909: bryanhundven@2512: config LIBC_EGLIBC_V_2_14 bryanhundven@2512: bool bryanhundven@2512: prompt "2_14" bryanhundven@2512: bryanhundven@2299: config LIBC_EGLIBC_V_2_13 bryanhundven@2299: bool bryanhundven@2299: prompt "2_13" bryanhundven@2299: bryanhundven@2239: config LIBC_EGLIBC_V_2_12 bryanhundven@2156: bool bryanhundven@2156: prompt "2_12" bryanhundven@2156: bryanhundven@2239: config LIBC_EGLIBC_V_2_11 bryanhundven@2156: bool bryanhundven@2156: prompt "2_11" bryanhundven@2156: bryanhundven@2239: config LIBC_EGLIBC_V_2_10 yann@787: bool yann@1534: prompt "2_10" yann@1534: bryanhundven@2239: config LIBC_EGLIBC_V_2_9 yann@1534: bool yann@1534: prompt "2_9" yann@1534: bryanhundven@2239: config LIBC_EGLIBC_V_TRUNK yann@865: bool yann@865: prompt "'trunk'" yann@3144: select LIBC_EGLIBC_2_16_or_later 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@3014: default "2_16" if LIBC_EGLIBC_V_2_16 bryanhundven@2909: default "2_15" if LIBC_EGLIBC_V_2_15 bryanhundven@2512: default "2_14" if LIBC_EGLIBC_V_2_14 bryanhundven@2299: default "2_13" if LIBC_EGLIBC_V_2_13 bryanhundven@2239: default "2_12" if LIBC_EGLIBC_V_2_12 bryanhundven@2239: default "2_11" if LIBC_EGLIBC_V_2_11 bryanhundven@2239: default "2_10" if LIBC_EGLIBC_V_2_10 bryanhundven@2239: default "2_9" if LIBC_EGLIBC_V_2_9 bryanhundven@2239: default "trunk" if LIBC_EGLIBC_V_TRUNK yann@787: bryanhundven@3014: config LIBC_EGLIBC_2_16_or_later bryanhundven@3014: bool benoit@2489: benoit@2489: config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL benoit@2489: bool yann@3144: default y benoit@2489: yann@2591: if CONFIGURE_has_svn yann@2591: 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: bryanhundven@2520: config EGLIBC_HTTP bryanhundven@2520: bool bryanhundven@2520: prompt "use http:// instead of svn://" bryanhundven@2520: help bryanhundven@2520: By default, when eglibc is downloaded it is checked out using bryanhundven@2520: svn://svn.eglibc.org. This option allows you to download eglibc bryanhundven@2520: from http://www.eglibc.org, if you are behind a proxy or firewall. bryanhundven@2520: If you are behind a proxy, don't forget to update your bryanhundven@2520: .subversion/servers file with your proxy info in [global]. bryanhundven@2520: yann@787: config EGLIBC_CHECKOUT yann@787: bool yann@787: prompt "checkout instead of export" bryanhundven@2239: default y if LIBC_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: yann@2591: endif # ! CONFIGURE_has_svn yann@2591: if ! CONFIGURE_has_svn yann@2591: yann@2591: comment "svn is missing. You'll have to either:" yann@2591: comment "| - have a pre-downloaded local tarball" yann@2591: comment "| - or have a LAN mirror with a pre-downloaded tarball" yann@2591: comment "otherwise you won't be able to download eglibc" yann@2591: yann@2591: endif # ! CONFIGURE_has_svn yann@2591: 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: 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