Explorar o código

toolchain: get rid of uclibc version kconfig symbol overloading

SVN-Revision: 36356
Felix Fietkau %!s(int64=12) %!d(string=hai) anos
pai
achega
4aa6663599
Modificáronse 2 ficheiros con 6 adicións e 10 borrados
  1. 3 3
      toolchain/uClibc/Config.in
  2. 3 7
      toolchain/uClibc/Config.version

+ 3 - 3
toolchain/uClibc/Config.in

@@ -3,16 +3,16 @@
 choice
 	prompt "uClibc Version"
 	depends on TOOLCHAINOPTS && USE_UCLIBC
-	default UCLIBC_VERSION_0_9_33
+	default UCLIBC_USE_VERSION_0_9_33
 	help
 	  Select the version of uClibc you wish to use.
 
-	config UCLIBC_VERSION_0_9_33
+	config UCLIBC_USE_VERSION_0_9_33
+		select UCLIBC_VERSION_0_9_33
 		bool "uClibc 0.9.33.2"
 
 endchoice
 
-
 # Debug version.
 
 config UCLIBC_ENABLE_DEBUG

+ 3 - 7
toolchain/uClibc/Config.version

@@ -4,10 +4,6 @@ config UCLIBC_VERSION
 	default "0.9.33.2"       if UCLIBC_VERSION_0_9_33
 	default "0.9.33.2"
 
-if !TOOLCHAINOPTS
-
-	config UCLIBC_VERSION_0_9_33
-		default y if USE_UCLIBC
-		bool
-
-endif
+config UCLIBC_VERSION_0_9_33
+	default y if !TOOLCHAINOPTS && USE_UCLIBC
+	bool