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

	config EGLIBC_VERSION_2_6
		bool "eglibc 2.6"

	config EGLIBC_VERSION_2_7
		bool "eglibc 2.7"

	config EGLIBC_VERSION_2_8
		bool "eglibc 2.8"

	config EGLIBC_VERSION_2_9
		bool "eglibc 2.9"

	config EGLIBC_VERSION_2_10
		bool "eglibc 2.10"

	config EGLIBC_VERSION_2_11
		bool "eglibc 2.11"
		depends GCC_VERSION_4_3 || GCC_VERSION_4_4 || GCC_VERSION_4_5

	config EGLIBC_VERSION_2_12
		bool "eglibc 2.12"
		depends GCC_VERSION_4_3 || GCC_VERSION_4_4 || GCC_VERSION_4_5

	config EGLIBC_VERSION_TRUNK
		bool "eglibc trunk"

endchoice

config EGLIBC_REVISION
	string
	prompt "eglibc revision"
	depends on TOOLCHAINOPTS && USE_EGLIBC
	default "5887"  if EGLIBC_VERSION_2_6
	default "8588"  if EGLIBC_VERSION_2_7
	default "8587"  if EGLIBC_VERSION_2_8
	default "10153" if EGLIBC_VERSION_2_9
	default "10152" if EGLIBC_VERSION_2_10
	default "10454" if EGLIBC_VERSION_2_11
	default "10495" if EGLIBC_VERSION_2_12
	default "HEAD"  if EGLIBC_VERSION_TRUNK
	default ""

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