add a modified version of the mips64 patch from #4603
[openwrt-10.03/.git] / toolchain / uClibc / Config.in
index 4b016c951f7af5d7d6a003dc86a89599e60fcdf3..523120a454dff74860864c782b0ac5fbcb15ffd0 100644 (file)
@@ -1,18 +1,43 @@
-# Choose uClibc options
-#
-if CONFIG_DEVEL
-       comment "uClibc Options"
-endif
-
-config BR2_UCLIBC_VERSION_SNAPSHOT
-       bool
-       prompt "Use the daily snapshot of uClibc?" if CONFIG_DEVEL
-       default n
+# Choose uclibc version.
+
+choice
+       prompt "uClibc Version"
+       depends on TOOLCHAINOPTS && USE_UCLIBC
+       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.
 
-config BR2_USE_UCLIBC_SNAPSHOT
-       string
-       default "snapshot"
-       depends on BR2_UCLIBC_VERSION_SNAPSHOT
+       config UCLIBC_VERSION_SNAPSHOT
+               depends BROKEN
+               bool "uClibc snapshot"
+
+       config UCLIBC_VERSION_0_9_28
+               bool "uClibc 0.9.28"
+               depends !(mips64 || mips64el)
+
+       config UCLIBC_VERSION_0_9_29
+               bool "uClibc 0.9.29"
+
+       config UCLIBC_VERSION_0_9_30
+               bool "uClibc 0.9.30"
 
+endchoice
+
+config UCLIBC_VERSION_NPTL
+       bool "Use NPTL branch"
+       depends on TOOLCHAINOPTS && USE_UCLIBC
+       depends on UCLIBC_VERSION_0_9_30
+       depends BROKEN
+
+
+config UCLIBC_EXTRA_VERSION
+       string
+       prompt "Extra uClibc version"
+       depends on TOOLCHAINOPTS && USE_UCLIBC
+       default "snapshot"   if UCLIBC_VERSION_SNAPSHOT
+       default ".2"         if UCLIBC_VERSION_0_9_28
+       default ".1"         if UCLIBC_VERSION_0_9_30 && !UCLIBC_VERSION_NPTL
+       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.