scripts: add new version at top of choice
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 18:38:06 2009 +0200 (2009-09-13)
changeset 1535073d351bdcd3
parent 1534 d4ddf19a1968
child 1536 28dfc4fc15e9
scripts: add new version at top of choice

Add new versions at the top of the choice menu, not at the bottom.
config/binutils/binutils.in
config/binutils/elf2flt.in
config/cc/gcc.in
config/companion_libs/cloog.in
config/companion_libs/gmp.in
config/companion_libs/mpc.in
config/companion_libs/mpfr.in
config/companion_libs/ppl.in
config/debug/dmalloc.in
config/debug/duma.in
config/debug/gdb.in
config/debug/ltrace.in
config/debug/strace.in
config/kernel/linux.in
config/libc/eglibc.in
config/libc/glibc.in
config/libc/newlib.in
config/libc/uClibc.in
config/tools/libelf.in
scripts/addToolVersion.sh
     1.1 --- a/config/binutils/binutils.in	Sun Sep 13 17:51:33 2009 +0200
     1.2 +++ b/config/binutils/binutils.in	Sun Sep 13 18:38:06 2009 +0200
     1.3 @@ -8,6 +8,8 @@
     1.4  choice
     1.5      bool
     1.6      prompt "binutils version"
     1.7 +# Don't remove next line
     1.8 +# CT_INSERT_VERSION_BELOW
     1.9  
    1.10  config BINUTILS_V_2_19_51_0_2
    1.11      bool
    1.12 @@ -99,12 +101,12 @@
    1.13      prompt "2.14 (OBSOLETE)"
    1.14      depends on OBSOLETE
    1.15  
    1.16 -# CT_INSERT_VERSION_ABOVE
    1.17 -# Don't remove above line!
    1.18  endchoice
    1.19  
    1.20  config BINUTILS_VERSION
    1.21      string
    1.22 +# Don't remove next line
    1.23 +# CT_INSERT_VERSION_STRING_BELOW
    1.24      default "2.19.51.0.2" if BINUTILS_V_2_19_51_0_2
    1.25      default "2.19.51.0.1" if BINUTILS_V_2_19_51_0_1
    1.26      default "2.19.50.0.1" if BINUTILS_V_2_19_50_0_1
    1.27 @@ -124,8 +126,6 @@
    1.28      default "2.16.1" if BINUTILS_V_2_16_1
    1.29      default "2.15" if BINUTILS_V_2_15
    1.30      default "2.14" if BINUTILS_V_2_14
    1.31 -# CT_INSERT_VERSION_STRING_ABOVE
    1.32 -# Don't remove above line!
    1.33  
    1.34  config BINUTILS_EXTRA_CONFIG
    1.35      string
     2.1 --- a/config/binutils/elf2flt.in	Sun Sep 13 17:51:33 2009 +0200
     2.2 +++ b/config/binutils/elf2flt.in	Sun Sep 13 18:38:06 2009 +0200
     2.3 @@ -10,6 +10,8 @@
     2.4  choice
     2.5      bool
     2.6      prompt "elf2flt version"
     2.7 +# Don't remove next line
     2.8 +# CT_INSERT_VERSION_BELOW
     2.9  
    2.10  config ELF2FLT_CVSHEAD
    2.11      bool
    2.12 @@ -21,8 +23,6 @@
    2.13      bool
    2.14      prompt "CVS Snapshot"
    2.15  
    2.16 -# CT_INSERT_VERSION_ABOVE
    2.17 -# Don't remove above line!
    2.18  endchoice
    2.19  
    2.20  config ELF2FLT_CVS_SNAPSHOT_SPEC
    2.21 @@ -37,8 +37,8 @@
    2.22  config ELF2FLT_VERSION
    2.23      string
    2.24      default "head" if ELF2FLT_CVSHEAD
    2.25 -# CT_INSERT_VERSION_STRING_ABOVE
    2.26 -# Don't remove above line!
    2.27 +# Don't remove next line
    2.28 +# CT_INSERT_VERSION_STRING_BELOW
    2.29  
    2.30  config ELF2FLT_EXTRA_CONFIG
    2.31      string
     3.1 --- a/config/cc/gcc.in	Sun Sep 13 17:51:33 2009 +0200
     3.2 +++ b/config/cc/gcc.in	Sun Sep 13 18:38:06 2009 +0200
     3.3 @@ -16,6 +16,8 @@
     3.4  choice
     3.5      bool
     3.6      prompt "gcc version"
     3.7 +# Don't remove next line
     3.8 +# CT_INSERT_VERSION_BELOW
     3.9  
    3.10  config CC_V_4_4_1
    3.11      bool
    3.12 @@ -130,8 +132,6 @@
    3.13      prompt "3.2.3 (OBSOLETE)"
    3.14      depends on OBSOLETE
    3.15  
    3.16 -# CT_INSERT_VERSION_ABOVE
    3.17 -# Don't remove above line!
    3.18  endchoice
    3.19  
    3.20  config CC_GCC_4_3_or_later
    3.21 @@ -146,6 +146,8 @@
    3.22  
    3.23  config CC_VERSION
    3.24      string
    3.25 +# Don't remove next line
    3.26 +# CT_INSERT_VERSION_STRING_BELOW
    3.27      default "4.4.1" if CC_V_4_4_1
    3.28      default "4.4.0" if CC_V_4_4_0
    3.29      default "4.3.4" if CC_V_4_3_4
    3.30 @@ -169,8 +171,6 @@
    3.31      default "3.4.6" if CC_V_3_4_6
    3.32      default "3.3.6" if CC_V_3_3_6
    3.33      default "3.2.3" if CC_V_3_2_3
    3.34 -# CT_INSERT_VERSION_STRING_ABOVE
    3.35 -# Don't remove above line!
    3.36  
    3.37  config CC_CXA_ATEXIT
    3.38      bool
     4.1 --- a/config/companion_libs/cloog.in	Sun Sep 13 17:51:33 2009 +0200
     4.2 +++ b/config/companion_libs/cloog.in	Sun Sep 13 18:38:06 2009 +0200
     4.3 @@ -3,6 +3,8 @@
     4.4  choice
     4.5      bool
     4.6      prompt "CLooG/ppl version"
     4.7 +# Don't remove next line
     4.8 +# CT_INSERT_VERSION_BELOW
     4.9  
    4.10  config CLOOG_V_0_15_7
    4.11      bool
    4.12 @@ -24,16 +26,14 @@
    4.13      bool
    4.14      prompt "0.15.3"
    4.15  
    4.16 -# CT_INSERT_VERSION_ABOVE
    4.17 -# Don't remove above line!
    4.18  endchoice
    4.19  
    4.20  config CLOOG_VERSION
    4.21      string
    4.22 +# Don't remove next line
    4.23 +# CT_INSERT_VERSION_STRING_BELOW
    4.24      default "0.15.7" if CLOOG_V_0_15_7
    4.25      default "0.15.6" if CLOOG_V_0_15_6
    4.26      default "0.15.5" if CLOOG_V_0_15_5
    4.27      default "0.15.4" if CLOOG_V_0_15_4
    4.28      default "0.15.3" if CLOOG_V_0_15_3
    4.29 -# CT_INSERT_VERSION_STRING_ABOVE
    4.30 -# Don't remove above line!
     5.1 --- a/config/companion_libs/gmp.in	Sun Sep 13 17:51:33 2009 +0200
     5.2 +++ b/config/companion_libs/gmp.in	Sun Sep 13 18:38:06 2009 +0200
     5.3 @@ -3,6 +3,8 @@
     5.4  choice
     5.5      bool
     5.6      prompt "GMP version"
     5.7 +# Don't remove next line
     5.8 +# CT_INSERT_VERSION_BELOW
     5.9  
    5.10  config GMP_V_4_3_1
    5.11      bool
    5.12 @@ -20,15 +22,13 @@
    5.13      bool
    5.14      prompt "4.2.2"
    5.15  
    5.16 -# CT_INSERT_VERSION_ABOVE
    5.17 -# Don't remove above line!
    5.18  endchoice
    5.19  
    5.20  config GMP_VERSION
    5.21      string
    5.22 +# Don't remove next line
    5.23 +# CT_INSERT_VERSION_STRING_BELOW
    5.24      default "4.3.1" if GMP_V_4_3_1
    5.25      default "4.3.0" if GMP_V_4_3_0
    5.26      default "4.2.4" if GMP_V_4_2_4
    5.27      default "4.2.2" if GMP_V_4_2_2
    5.28 -# CT_INSERT_VERSION_STRING_ABOVE
    5.29 -# Don't remove above line!
     6.1 --- a/config/companion_libs/mpc.in	Sun Sep 13 17:51:33 2009 +0200
     6.2 +++ b/config/companion_libs/mpc.in	Sun Sep 13 18:38:06 2009 +0200
     6.3 @@ -3,6 +3,8 @@
     6.4  choice
     6.5      bool
     6.6      prompt "MPC version"
     6.7 +# Don't remove next line
     6.8 +# CT_INSERT_VERSION_BELOW
     6.9  
    6.10  config MPC_V_0_7
    6.11      bool
    6.12 @@ -12,13 +14,11 @@
    6.13      bool
    6.14      prompt "0.6"
    6.15  
    6.16 -# CT_INSERT_VERSION_ABOVE
    6.17 -# Don't remove above line!
    6.18  endchoice
    6.19  
    6.20  config MPC_VERSION
    6.21      string
    6.22 +# Don't remove next line
    6.23 +# CT_INSERT_VERSION_STRING_BELOW
    6.24      default "0.7" if MPC_V_0_7
    6.25      default "0.6" if MPC_V_0_6
    6.26 -# CT_INSERT_VERSION_STRING_ABOVE
    6.27 -# Don't remove above line!
     7.1 --- a/config/companion_libs/mpfr.in	Sun Sep 13 17:51:33 2009 +0200
     7.2 +++ b/config/companion_libs/mpfr.in	Sun Sep 13 18:38:06 2009 +0200
     7.3 @@ -3,6 +3,8 @@
     7.4  choice
     7.5      bool
     7.6      prompt "MPFR version"
     7.7 +# Don't remove next line
     7.8 +# CT_INSERT_VERSION_BELOW
     7.9  
    7.10  config MPFR_V_2_4_1
    7.11      bool
    7.12 @@ -20,15 +22,13 @@
    7.13      bool
    7.14      prompt "2.3.1"
    7.15  
    7.16 -# CT_INSERT_VERSION_ABOVE
    7.17 -# Don't remove above line!
    7.18  endchoice
    7.19  
    7.20  config MPFR_VERSION
    7.21      string
    7.22 +# Don't remove next line
    7.23 +# CT_INSERT_VERSION_STRING_BELOW
    7.24      default "2.4.1" if MPFR_V_2_4_1
    7.25      default "2.4.0" if MPFR_V_2_4_0
    7.26      default "2.3.2" if MPFR_V_2_3_2
    7.27      default "2.3.1" if MPFR_V_2_3_1
    7.28 -# CT_INSERT_VERSION_STRING_ABOVE
    7.29 -# Don't remove above line!
     8.1 --- a/config/companion_libs/ppl.in	Sun Sep 13 17:51:33 2009 +0200
     8.2 +++ b/config/companion_libs/ppl.in	Sun Sep 13 18:38:06 2009 +0200
     8.3 @@ -3,17 +3,17 @@
     8.4  choice
     8.5      bool
     8.6      prompt "PPL version"
     8.7 +# Don't remove next line
     8.8 +# CT_INSERT_VERSION_BELOW
     8.9  
    8.10  config PPL_V_0_10_2
    8.11      bool
    8.12      prompt "0.10.2"
    8.13  
    8.14 -# CT_INSERT_VERSION_ABOVE
    8.15 -# Don't remove above line!
    8.16  endchoice
    8.17  
    8.18  config PPL_VERSION
    8.19      string
    8.20 +# Don't remove next line
    8.21 +# CT_INSERT_VERSION_STRING_BELOW
    8.22      default "0.10.2" if PPL_V_0_10_2
    8.23 -# CT_INSERT_VERSION_STRING_ABOVE
    8.24 -# Don't remove above line!
     9.1 --- a/config/debug/dmalloc.in	Sun Sep 13 17:51:33 2009 +0200
     9.2 +++ b/config/debug/dmalloc.in	Sun Sep 13 18:38:06 2009 +0200
     9.3 @@ -6,6 +6,8 @@
     9.4  choice
     9.5      bool
     9.6      prompt "dmalloc version"
     9.7 +# Don't remove next line
     9.8 +# CT_INSERT_VERSION_BELOW
     9.9  
    9.10  config DMALLOC_V_5_5_2
    9.11      bool
    9.12 @@ -16,13 +18,11 @@
    9.13      prompt "5.4.3 (OBSOLETE)"
    9.14      depends on OBSOLETE
    9.15  
    9.16 -# CT_INSERT_VERSION_ABOVE
    9.17 -# Don't remove above line!
    9.18  endchoice
    9.19  
    9.20  config DMALLOC_VERSION
    9.21      string
    9.22 +# Don't remove next line
    9.23 +# CT_INSERT_VERSION_STRING_BELOW
    9.24      default "5.5.2" if DMALLOC_V_5_5_2
    9.25      default "5.4.3" if DMALLOC_V_5_4_3
    9.26 -# CT_INSERT_VERSION_STRING_ABOVE
    9.27 -# Don't remove above line!
    10.1 --- a/config/debug/duma.in	Sun Sep 13 17:51:33 2009 +0200
    10.2 +++ b/config/debug/duma.in	Sun Sep 13 18:38:06 2009 +0200
    10.3 @@ -20,6 +20,8 @@
    10.4  choice
    10.5      bool
    10.6      prompt "D.U.M.A. version"
    10.7 +# Don't remove next line
    10.8 +# CT_INSERT_VERSION_BELOW
    10.9  
   10.10  config DUMA_V_2_5_15
   10.11      bool
   10.12 @@ -41,16 +43,14 @@
   10.13      bool
   10.14      prompt "2_5_1"
   10.15  
   10.16 -# CT_INSERT_VERSION_ABOVE
   10.17 -# Don't remove above line!
   10.18  endchoice
   10.19  
   10.20  config DUMA_VERSION
   10.21      string
   10.22 +# Don't remove next line
   10.23 +# CT_INSERT_VERSION_STRING_BELOW
   10.24      default "2_5_15" if DUMA_V_2_5_15
   10.25      default "2_5_14" if DUMA_V_2_5_14
   10.26      default "2_5_12" if DUMA_V_2_5_12
   10.27      default "2_5_8" if DUMA_V_2_5_8
   10.28      default "2_5_1" if DUMA_V_2_5_1
   10.29 -# CT_INSERT_VERSION_STRING_ABOVE
   10.30 -# Don't remove above line!
    11.1 --- a/config/debug/gdb.in	Sun Sep 13 17:51:33 2009 +0200
    11.2 +++ b/config/debug/gdb.in	Sun Sep 13 18:38:06 2009 +0200
    11.3 @@ -96,12 +96,8 @@
    11.4      bool
    11.5      prompt "gdb version"
    11.6      depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
    11.7 -
    11.8 -config GDB_V_snapshot
    11.9 -    bool
   11.10 -    prompt "snapshot (EXPERIMENTAL)"
   11.11 -    depends on EXPERIMENTAL
   11.12 -    depends on ! GDB_CROSS_INSIGHT
   11.13 +# Don't remove next line
   11.14 +# CT_INSERT_VERSION_BELOW
   11.15  
   11.16  config GDB_V_6_8
   11.17      bool
   11.18 @@ -131,22 +127,25 @@
   11.19      prompt "6.4 (OBSOLETE)"
   11.20      depends on OBSOLETE
   11.21  
   11.22 -# CT_INSERT_VERSION_ABOVE
   11.23 -# Don't remove above line!
   11.24 +config GDB_V_snapshot
   11.25 +    bool
   11.26 +    prompt "snapshot (EXPERIMENTAL)"
   11.27 +    depends on EXPERIMENTAL
   11.28 +    depends on ! GDB_CROSS_INSIGHT
   11.29  
   11.30  endchoice
   11.31  
   11.32  config GDB_VERSION
   11.33      string
   11.34 -    default "snapshot" if GDB_V_snapshot
   11.35 +# Don't remove next line
   11.36 +# CT_INSERT_VERSION_STRING_BELOW
   11.37      default "6.8" if GDB_V_6_8
   11.38      default "6.7.1" if GDB_V_6_7_1
   11.39      default "6.7" if GDB_V_6_7
   11.40      default "6.6" if GDB_V_6_6
   11.41      default "6.5" if GDB_V_6_5
   11.42      default "6.4" if GDB_V_6_4
   11.43 -# CT_INSERT_VERSION_STRING_ABOVE
   11.44 -# Don't remove above line!
   11.45 +    default "snapshot" if GDB_V_snapshot
   11.46  
   11.47  if GDB_NATIVE
   11.48  
    12.1 --- a/config/debug/ltrace.in	Sun Sep 13 17:51:33 2009 +0200
    12.2 +++ b/config/debug/ltrace.in	Sun Sep 13 18:38:06 2009 +0200
    12.3 @@ -11,6 +11,8 @@
    12.4  choice
    12.5      bool
    12.6      prompt "ltrace version"
    12.7 +# Don't remove next line
    12.8 +# CT_INSERT_VERSION_BELOW
    12.9  
   12.10  config LTRACE_V_0_5_2
   12.11      bool
   12.12 @@ -29,15 +31,13 @@
   12.13      bool
   12.14      prompt "0.4"
   12.15  
   12.16 -# CT_INSERT_VERSION_ABOVE
   12.17 -# Don't remove above line!
   12.18  endchoice
   12.19  
   12.20  config LTRACE_VERSION
   12.21      string
   12.22 +# Don't remove next line
   12.23 +# CT_INSERT_VERSION_STRING_BELOW
   12.24      default "0.5.2" if LTRACE_V_0_5_2
   12.25      default "0.5.1" if LTRACE_V_0_5_1
   12.26      default "0.5" if LTRACE_V_0_5
   12.27      default "0.4" if LTRACE_V_0_4
   12.28 -# CT_INSERT_VERSION_STRING_ABOVE
   12.29 -# # Don't remove above line!
    13.1 --- a/config/debug/strace.in	Sun Sep 13 17:51:33 2009 +0200
    13.2 +++ b/config/debug/strace.in	Sun Sep 13 18:38:06 2009 +0200
    13.3 @@ -5,6 +5,8 @@
    13.4  choice
    13.5      bool
    13.6      prompt "strace version"
    13.7 +# Don't remove next line
    13.8 +# CT_INSERT_VERSION_BELOW
    13.9  
   13.10  config STRACE_V_4_5_18
   13.11      bool
   13.12 @@ -33,17 +35,15 @@
   13.13      prompt "4.5 (OBSOLETE)"
   13.14      depends on OBSOLETE
   13.15  
   13.16 -# CT_INSERT_VERSION_ABOVE
   13.17 -# Don't remove above line!
   13.18  endchoice
   13.19  
   13.20  config STRACE_VERSION
   13.21      string
   13.22 +# Don't remove next line
   13.23 +# CT_INSERT_VERSION_STRING_BELOW
   13.24      default "4.5.18" if STRACE_V_4_5_18
   13.25      default "4.5.17" if STRACE_V_4_5_17
   13.26      default "4.5.16" if STRACE_V_4_5_16
   13.27      default "4.5.15" if STRACE_V_4_5_15
   13.28      default "4.5.14" if STRACE_V_4_5_14
   13.29      default "4.5" if STRACE_V_4_5
   13.30 -# CT_INSERT_VERSION_STRING_ABOVE
   13.31 -# # Don't remove above line!
    14.1 --- a/config/kernel/linux.in	Sun Sep 13 17:51:33 2009 +0200
    14.2 +++ b/config/kernel/linux.in	Sun Sep 13 18:38:06 2009 +0200
    14.3 @@ -31,6 +31,8 @@
    14.4  choice
    14.5      bool
    14.6      prompt "Linux kernel version"
    14.7 +# Don't remove next line
    14.8 +# CT_INSERT_VERSION_BELOW
    14.9  
   14.10  config KERNEL_V_2_6_31
   14.11      bool
   14.12 @@ -145,9 +147,6 @@
   14.13      prompt "2.6.18.8 (OBSOLETE)"
   14.14      depends on OBSOLETE
   14.15  
   14.16 -# CT_INSERT_VERSION_ABOVE
   14.17 -# Don't remove above line!
   14.18 -
   14.19  config KERNEL_V_select
   14.20      bool
   14.21      prompt "Other version (EXPERIMENTAL)"
   14.22 @@ -158,6 +157,8 @@
   14.23  config KERNEL_VERSION
   14.24      string
   14.25      prompt "Kernel version" if KERNEL_V_select
   14.26 +# Don't remove next line
   14.27 +# CT_INSERT_VERSION_STRING_BELOW
   14.28      default "2.6.31" if KERNEL_V_2_6_31
   14.29      default "2.6.30.6" if KERNEL_V_2_6_30_6
   14.30      default "2.6.30.5" if KERNEL_V_2_6_30_5
   14.31 @@ -184,8 +185,6 @@
   14.32      default "2.6.20.21" if KERNEL_V_2_6_20_21
   14.33      default "2.6.19.7" if KERNEL_V_2_6_19_7
   14.34      default "2.6.18.8" if KERNEL_V_2_6_18_8
   14.35 -# CT_INSERT_VERSION_STRING_ABOVE
   14.36 -# Don't remove above line!
   14.37      help
   14.38        Enter here the kernel version you want to use, if it is
   14.39        not listed above. Something like V.P.S or V.P.S.E, where:
    15.1 --- a/config/libc/eglibc.in	Sun Sep 13 17:51:33 2009 +0200
    15.2 +++ b/config/libc/eglibc.in	Sun Sep 13 18:38:06 2009 +0200
    15.3 @@ -15,6 +15,8 @@
    15.4  choice
    15.5      bool
    15.6      prompt "eglibc version"
    15.7 +# Don't remove next line
    15.8 +# CT_INSERT_VERSION_BELOW
    15.9  
   15.10  config LIBC_V_2_10
   15.11      bool
   15.12 @@ -40,9 +42,6 @@
   15.13      bool
   15.14      prompt "2_5"
   15.15  
   15.16 -# CT_INSERT_VERSION_ABOVE
   15.17 -# Don't remove above line!
   15.18 -
   15.19  config EGLIBC_V_TRUNK
   15.20      bool
   15.21      prompt "'trunk'"
   15.22 @@ -53,15 +52,15 @@
   15.23  
   15.24  config LIBC_VERSION
   15.25      string
   15.26 -    default "trunk" if EGLIBC_V_TRUNK
   15.27 +# Don't remove next line
   15.28 +# CT_INSERT_VERSION_STRING_BELOW
   15.29      default "2_10" if LIBC_V_2_10
   15.30      default "2_9" if EGLIBC_V_2_9
   15.31      default "2_8" if EGLIBC_V_2_8
   15.32      default "2_7" if EGLIBC_V_2_7
   15.33      default "2_6" if EGLIBC_V_2_6
   15.34      default "2_5" if EGLIBC_V_2_5
   15.35 -# CT_INSERT_VERSION_STRING_ABOVE
   15.36 -# Don't remove above line!
   15.37 +    default "trunk" if EGLIBC_V_TRUNK
   15.38  
   15.39  config EGLIBC_REVISION
   15.40      string
    16.1 --- a/config/libc/glibc.in	Sun Sep 13 17:51:33 2009 +0200
    16.2 +++ b/config/libc/glibc.in	Sun Sep 13 18:38:06 2009 +0200
    16.3 @@ -11,6 +11,8 @@
    16.4  choice
    16.5      bool
    16.6      prompt "glibc version"
    16.7 +# Don't remove next line
    16.8 +# CT_INSERT_VERSION_BELOW
    16.9  
   16.10  config LIBC_V_2_9
   16.11      bool
   16.12 @@ -47,9 +49,6 @@
   16.13      prompt "2.3.6 (OBSOLETE)"
   16.14      depends on OBSOLETE
   16.15  
   16.16 -# CT_INSERT_VERSION_ABOVE
   16.17 -# Don't remove above line!
   16.18 -
   16.19  config LIBC_V_LATEST
   16.20      bool
   16.21      prompt "'latest' snapshot (EXPERIMENTAL)"
   16.22 @@ -65,7 +64,8 @@
   16.23  config LIBC_VERSION
   16.24      string
   16.25      prompt "Enter date (YYYYMMDD)" if LIBC_V_date
   16.26 -    default "latest" if LIBC_V_LATEST
   16.27 +# Don't remove next line
   16.28 +# CT_INSERT_VERSION_STRING_BELOW
   16.29      default "2.9" if LIBC_V_2_9
   16.30      default "2.8" if LIBC_V_2_8
   16.31      default "2.7" if LIBC_V_2_7
   16.32 @@ -74,8 +74,7 @@
   16.33      default "2.5.1" if LIBC_V_2_5_1
   16.34      default "2.5" if LIBC_V_2_5
   16.35      default "2.3.6" if LIBC_V_2_3_6
   16.36 -# CT_INSERT_VERSION_STRING_ABOVE
   16.37 -# Don't remove above line!
   16.38 +    default "latest" if LIBC_V_LATEST
   16.39  
   16.40  config LIBC_GLIBC_2_8_or_later
   16.41      bool
    17.1 --- a/config/libc/newlib.in	Sun Sep 13 17:51:33 2009 +0200
    17.2 +++ b/config/libc/newlib.in	Sun Sep 13 18:38:06 2009 +0200
    17.3 @@ -13,23 +13,21 @@
    17.4  choice
    17.5      bool
    17.6      prompt "newlib version"
    17.7 +# Don't remove next line
    17.8 +# CT_INSERT_VERSION_BELOW
    17.9  
   17.10  config NEWLIB_V_1_17_0
   17.11      bool
   17.12      prompt "1.17.0"
   17.13  
   17.14 -# CT_INSERT_VERSION_ABOVE
   17.15 -# Don't remove above line!
   17.16 -
   17.17  endchoice
   17.18  
   17.19  config LIBC_VERSION
   17.20      string
   17.21 +# Don't remove next line
   17.22 +# CT_INSERT_VERSION_STRING_BELOW
   17.23      default "1.17.0" if NEWLIB_V_1_17_0
   17.24  
   17.25 -# CT_INSERT_VERSION_STRING_ABOVE
   17.26 -# Don't remove above line!
   17.27 -
   17.28  config ATMEL_AVR32_HEADERS
   17.29      bool
   17.30      prompt "Install Atmel AVR32 headers"
    18.1 --- a/config/libc/uClibc.in	Sun Sep 13 17:51:33 2009 +0200
    18.2 +++ b/config/libc/uClibc.in	Sun Sep 13 18:38:06 2009 +0200
    18.3 @@ -11,6 +11,8 @@
    18.4  choice
    18.5      bool
    18.6      prompt "uClibc version"
    18.7 +# Don't remove next line
    18.8 +# CT_INSERT_VERSION_BELOW
    18.9  
   18.10  config LIBC_V_0_9_30_1
   18.11      bool
   18.12 @@ -45,9 +47,6 @@
   18.13      prompt "0.9.28 (OBSOLETE)"
   18.14      depends on OBSOLETE
   18.15  
   18.16 -# CT_INSERT_VERSION_ABOVE
   18.17 -# Don't remove above line!
   18.18 -
   18.19  config LIBC_V_snapshot
   18.20      bool
   18.21      prompt "latest snapshot (EXPERIMENTAL)"
   18.22 @@ -63,7 +62,8 @@
   18.23  config LIBC_VERSION
   18.24      string
   18.25      prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
   18.26 -    default "snapshot" if LIBC_V_snapshot
   18.27 +# Don't remove next line
   18.28 +# CT_INSERT_VERSION_STRING_BELOW
   18.29      default "0.9.30.1" if LIBC_V_0_9_30_1
   18.30      default "0.9.30" if LIBC_V_0_9_30
   18.31      default "0.9.29" if LIBC_V_0_9_29
   18.32 @@ -71,8 +71,7 @@
   18.33      default "0.9.28.2" if LIBC_V_0_9_28_2
   18.34      default "0.9.28.1" if LIBC_V_0_9_28_1
   18.35      default "0.9.28" if LIBC_V_0_9_28
   18.36 -# CT_INSERT_VERSION_STRING_ABOVE
   18.37 -# Don't remove above line!
   18.38 +    default "snapshot" if LIBC_V_snapshot
   18.39  
   18.40  config LIBC_UCLIBC_0_9_30_or_later
   18.41      bool
    19.1 --- a/config/tools/libelf.in	Sun Sep 13 17:51:33 2009 +0200
    19.2 +++ b/config/tools/libelf.in	Sun Sep 13 18:38:06 2009 +0200
    19.3 @@ -8,6 +8,8 @@
    19.4  choice
    19.5      bool
    19.6      prompt "libelf version"
    19.7 +# Don't remove next line
    19.8 +# CT_INSERT_VERSION_BELOW
    19.9  
   19.10  config LIBELF_V_0_8_11
   19.11      bool
   19.12 @@ -17,13 +19,11 @@
   19.13      bool
   19.14      prompt "0.8.10"
   19.15  
   19.16 -# CT_INSERT_VERSION_ABOVE
   19.17 -# Don't remove above line!
   19.18  endchoice
   19.19  
   19.20  config LIBELF_VERSION
   19.21      string
   19.22 +# Don't remove next line
   19.23 +# CT_INSERT_VERSION_STRING_BELOW
   19.24      default "0.8.11" if LIBELF_V_0_8_11
   19.25      default "0.8.10" if LIBELF_V_0_8_10
   19.26 -# CT_INSERT_VERSION_STRING_ABOVE
   19.27 -# Don't remove above line!
    20.1 --- a/scripts/addToolVersion.sh	Sun Sep 13 17:51:33 2009 +0200
    20.2 +++ b/scripts/addToolVersion.sh	Sun Sep 13 18:38:06 2009 +0200
    20.3 @@ -78,34 +78,34 @@
    20.4      case "${EXP},${OBS}" in
    20.5          ,)  ;;
    20.6          ,*) exp_obs_prompt="  (OBSOLETE)"
    20.7 -            deps="    depends on OBSOLETE\n"
    20.8 +            deps="    depends on OBSOLETE"
    20.9              ;;
   20.10          *,) exp_obs_prompt="  (EXPERIMENTAL)"
   20.11 -            deps="    depends on EXPERIMENTAL\n"
   20.12 +            deps="    depends on EXPERIMENTAL"
   20.13              ;;
   20.14          *)  exp_obs_prompt="  (EXPERIMENTAL, OBSOLETE)"
   20.15 -            deps="    depends on EXPERIMENTAL && OBSOLETE\n"
   20.16 +            deps="    depends on EXPERIMENTAL \\&\\& OBSOLETE"
   20.17              ;;
   20.18      esac
   20.19      [ -n "${exp_obs_prompt}" ] && SedExpr1="${SedExpr1}${exp_obs_prompt}"
   20.20 -    SedExpr1="${SedExpr1}\"\n"
   20.21 -    [ -n "${deps}" ] && SedExpr1="${SedExpr1}${deps}"
   20.22 +    SedExpr1="${SedExpr1}\""
   20.23 +    [ -n "${deps}" ] && SedExpr1="${SedExpr1}\n${deps}"
   20.24      if [ "${tool}" = "gcc" ]; then
   20.25          # Extract 'M'ajor and 'm'inor from version string
   20.26          ver_M=$(echo "${version}...." |cut -d . -f 1)
   20.27          ver_m=$(echo "${version}...." |cut -d . -f 2)
   20.28          if [    ${ver_M} -gt 4                          \
   20.29               -o \( ${ver_M} -eq 4 -a ${ver_m} -ge 3 \)  ]; then
   20.30 -            SedExpr1="${SedExpr1}    select CC_GCC_4_3_or_later\n"
   20.31 +            SedExpr1="${SedExpr1}\n    select CC_GCC_4_3_or_later"
   20.32          fi
   20.33          if [    ${ver_M} -gt 4                          \
   20.34               -o \( ${ver_M} -eq 4 -a ${ver_m} -ge 4 \)  ]; then
   20.35 -            SedExpr1="${SedExpr1}    select CC_GCC_4_4_or_later\n"
   20.36 +            SedExpr1="${SedExpr1}\n    select CC_GCC_4_4_or_later"
   20.37          fi
   20.38      fi
   20.39      SedExpr2="    default \"${version}\" if ${cat}_V_${v}"
   20.40 -    "${sed}" -r -i -e 's/^(# CT_INSERT_VERSION_ABOVE)$/'"${SedExpr1}"'\n\1/;' "${file}"
   20.41 -    "${sed}" -r -i -e 's/^(# CT_INSERT_VERSION_STRING_ABOVE)$/'"${SedExpr2}"'\n\1/;' "${file}"
   20.42 +    "${sed}" -r -i -e 's/^(# CT_INSERT_VERSION_BELOW)$/\1\n'"${SedExpr1}"'/;' "${file}"
   20.43 +    "${sed}" -r -i -e 's/^(# CT_INSERT_VERSION_STRING_BELOW)$/\1\n'"${SedExpr2}"'/;' "${file}"
   20.44  }
   20.45  
   20.46  cat=