X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/955e03f23ad5f2e8b61b256a7147a9f403583381..ed04ed77c63500d7c6caab027e88b0de8281e9e7:/toolchain/uClibc/Config.in

diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index 4b016c951..6c89fd25e 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -1,18 +1,29 @@
-# Choose uClibc options
-#
-if CONFIG_DEVEL
-	comment "uClibc Options"
-endif
+# Choose uclibc version.
 
-config BR2_UCLIBC_VERSION_SNAPSHOT
-	bool
-	prompt "Use the daily snapshot of uClibc?" if CONFIG_DEVEL
-	default n
+choice
+	prompt "uClibc Version" if TOOLCHAINOPTS
+	default UCLIBC_VERSION_0_9_29
 	help
-	    Would you like to use the latest daily snapshot?
+	  Select the version of uClibc you wish to use.
+	  Default for kernel 2.6 is 0.9.29, for kernel 2.4 it is 0.9.28 .
 
-config BR2_USE_UCLIBC_SNAPSHOT
-	string
-	default "snapshot"
-	depends on BR2_UCLIBC_VERSION_SNAPSHOT
+	config UCLIBC_VERSION_SNAPSHOT
+		bool "uClibc snapshot"
+
+	config UCLIBC_VERSION_0_9_28
+		bool "uClibc 0.9.28"
+
+	config UCLIBC_VERSION_0_9_29
+		bool "uClibc 0.9.29"
 
+endchoice
+
+config UCLIBC_EXTRA_VERSION
+	string
+	prompt "Extra uClibc version" if TOOLCHAINOPTS
+	default "snapshot"   if UCLIBC_VERSION_SNAPSHOT
+	default ".2"         if UCLIBC_VERSION_0_9_28
+	default ""
+	help
+	    Default for version 0.9.28 is ".02", for daily snapshot it's just "snapshot"
+	    For all other versions the default string is empty.