aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-19 14:13:16 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-19 14:13:16 +0000
commitbb3632cae7bc25f81855efbbaeab79ee5120a6ce (patch)
tree4818d783d8a9ef306a4ce944e5bfa75a268c7077 /toolchain
parentd3a5266f95859692f58b549cb8b76cd8598603e5 (diff)
downloadmaster-187ad058-bb3632cae7bc25f81855efbbaeab79ee5120a6ce.tar.gz
master-187ad058-bb3632cae7bc25f81855efbbaeab79ee5120a6ce.tar.bz2
master-187ad058-bb3632cae7bc25f81855efbbaeab79ee5120a6ce.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41273 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/Config.in7
-rw-r--r--toolchain/eglibc/Config.version11
2 files changed, 11 insertions, 7 deletions
diff --git a/toolchain/eglibc/Config.in b/toolchain/eglibc/Config.in
index 2e76c744af..dd6bb4352f 100644
--- a/toolchain/eglibc/Config.in
+++ b/toolchain/eglibc/Config.in
@@ -15,13 +15,6 @@ choice
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"
depends on TOOLCHAINOPTS && USE_EGLIBC
source toolchain/eglibc/config/Config.in
diff --git a/toolchain/eglibc/Config.version b/toolchain/eglibc/Config.version
index 4542323169..3c0f0efe3c 100644
--- a/toolchain/eglibc/Config.version
+++ b/toolchain/eglibc/Config.version
@@ -12,4 +12,15 @@ config EGLIBC_VERSION_2_19
default y if !TOOLCHAINOPTS
bool
+config EGLIBC_REVISION
+ string
+ default "18909" if EGLIBC_VERSION_2_15
+ default "25243" if EGLIBC_VERSION_2_19
+ default ""
+
endif
+
+menu "eglibc configuration"
+ depends on !TOOLCHAINOPTS && USE_EGLIBC
+ source toolchain/eglibc/config/Config.in
+endmenu