When selecting a specific eglibc version, it comes with a specific SVN
revision that should not be modified as it (more or less) correspond to
a tagged release. This patch disable the possibility to select a specific
SVN revision on known eglib versions while it still provide the
functionnality if the selected version is the eglibc trunk. Some labels
are modified in the process to clarify the system.

Signed-off-by: Emmanuel Deloget <log...@free.fr>

Index: toolchain/eglibc/Config.in
===================================================================
--- toolchain/eglibc/Config.in  (révision 31444)
+++ toolchain/eglibc/Config.in  (copie de travail)
@@ -18,18 +18,23 @@
                depends !GCC_VERSION_LLVM

        config EGLIBC_VERSION_TRUNK
-               bool "eglibc trunk"
+               bool "eglibc SVN trunk"

 endchoice

+config EGLIBC_TRUNK_REVISION
+       string
+       prompt "eglibc SVN trunk revision"
+       depends on TOOLCHAINOPTS && USE_EGLIBC && EGLIBC_VERSION_TRUNK
+       default "HEAD"
+
 config EGLIBC_REVISION
        string
-       prompt "eglibc revision"
        depends on TOOLCHAINOPTS && USE_EGLIBC
        default "14661" if EGLIBC_VERSION_2_12
        default "15508" if EGLIBC_VERSION_2_13
        default "16488" if EGLIBC_VERSION_2_14
-       default "HEAD"  if EGLIBC_VERSION_TRUNK
+       default EGLIBC_TRUNK_REVISION if EGLIBC_VERSION_TRUNK
        default ""

 menu "eglibc configuration"

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to