toolchain: make the default eglibc selection work even if TOOLCHAINOPTS is not enabled

default config build fail on octeon without this.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41273
This commit is contained in:
John Crispin 2014-06-19 14:13:16 +00:00
parent 0d5a6fd819
commit f98b58fcec
2 changed files with 11 additions and 7 deletions

View file

@ -15,13 +15,6 @@ choice
endchoice endchoice
config EGLIBC_REVISION
string
depends on TOOLCHAINOPTS && USE_EGLIBC
default "18909" if EGLIBC_VERSION_2_15
default "25243" if EGLIBC_VERSION_2_19
default ""
menu "eglibc configuration" menu "eglibc configuration"
depends on TOOLCHAINOPTS && USE_EGLIBC depends on TOOLCHAINOPTS && USE_EGLIBC
source toolchain/eglibc/config/Config.in source toolchain/eglibc/config/Config.in

View file

@ -12,4 +12,15 @@ config EGLIBC_VERSION_2_19
default y if !TOOLCHAINOPTS default y if !TOOLCHAINOPTS
bool bool
config EGLIBC_REVISION
string
default "18909" if EGLIBC_VERSION_2_15
default "25243" if EGLIBC_VERSION_2_19
default ""
endif endif
menu "eglibc configuration"
depends on !TOOLCHAINOPTS && USE_EGLIBC
source toolchain/eglibc/config/Config.in
endmenu