choice
	prompt "eglibc version" 
	depends on TOOLCHAINOPTS && USE_EGLIBC
	default EGLIBC_VERSION_2_12
	help
	  Select the version of eglibc you wish to use.

	config EGLIBC_VERSION_2_12
		bool "eglibc 2.12"
		depends !GCC_VERSION_LLVM

	config EGLIBC_VERSION_2_13
		bool "eglibc 2.13"
		depends !GCC_VERSION_LLVM

	config EGLIBC_VERSION_2_14
		bool "eglibc 2.14"
		depends !GCC_VERSION_LLVM

	config EGLIBC_VERSION_TRUNK
		bool "eglibc trunk"

endchoice

config EGLIBC_REVISION
	string
	prompt "eglibc revision"
	depends on TOOLCHAINOPTS && USE_EGLIBC
	default "10495" if EGLIBC_VERSION_2_12
	default "13055" if EGLIBC_VERSION_2_13
	default "14284" if EGLIBC_VERSION_2_14
	default "HEAD"  if EGLIBC_VERSION_TRUNK
	default ""

menu "eglibc configuration"
	depends on TOOLCHAINOPTS && USE_EGLIBC
	source toolchain/eglibc/config/Config.in
endmenu