瀏覽代碼

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 年之前
父節點
當前提交
f98b58fcec
共有 2 個文件被更改,包括 11 次插入7 次删除
  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
 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

+ 11 - 0
toolchain/eglibc/Config.version

@@ -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