Browse Source

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 <[email protected]>

SVN-Revision: 41273
John Crispin 11 years ago
parent
commit
f98b58fcec
2 changed files with 11 additions and 7 deletions
  1. 0 7
      toolchain/eglibc/Config.in
  2. 11 0
      toolchain/eglibc/Config.version

+ 0 - 7
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

+ 11 - 0
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