Skip to content

Commit

Permalink
Support mingw-w64 in addToolVersion.sh.
Browse files Browse the repository at this point in the history
... and add 4.0.4 release.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Nov 11, 2015
1 parent 319c999 commit bea0cde
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 9 additions & 4 deletions config/libc/mingw.in
Expand Up @@ -14,14 +14,18 @@ choice
bool
prompt "Windows API version"

# Don't remove next line
# CT_INSERT_VERSION_BELOW

config WINAPI_V_DEVEL
bool
prompt "devel"
depends on EXPERIMENTAL

# Don't remove next line
# CT_INSERT_VERSION_BELOW

config WINAPI_V_4_0_4
bool
prompt "4.0.4"

config WINAPI_V_4_0_2
bool
prompt "4.0.2"
Expand Down Expand Up @@ -59,9 +63,10 @@ endchoice
config WINAPI_VERSION
string
prompt "Windows API version" if WINAPI_V_select
default "devel" if WINAPI_V_DEVEL
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "devel" if WINAPI_V_DEVEL
default "4.0.4" if WINAPI_V_4_0_4
default "4.0.2" if WINAPI_V_4_0_2
default "4.0.1" if WINAPI_V_4_0_1
default "4.0.0" if WINAPI_V_4_0_0
Expand Down
4 changes: 3 additions & 1 deletion scripts/addToolVersion.sh
Expand Up @@ -17,7 +17,8 @@ doHelp() {
Usage: ${myname} <--tool> <[options] version [...]> ...
'tool' in one of:
gcc, binutils, glibc, uClibc, newlib, linux, gdb, dmalloc,
duma, strace, ltrace, libelf, gmp, mpfr, ppl, cloog, mpc
duma, strace, ltrace, libelf, gmp, mpfr, ppl, cloog, mpc,
mingw-w64
Valid options for all tools:
--stable, -s, +x (default)
Expand Down Expand Up @@ -180,6 +181,7 @@ while [ $# -gt 0 ]; do
--glibc) EXP=; OBS=; cat=LIBC_GLIBC; tool=glibc; tool_prefix=libc; dot2suffix=;;
--uClibc) EXP=; OBS=; cat=LIBC_UCLIBC; tool=uClibc; tool_prefix=libc; dot2suffix=;;
--newlib) EXP=; OBS=; cat=LIBC_NEWLIB; tool=newlib; tool_prefix=libc; dot2suffix=;;
--mingw-w64)EXP=; OBS=; cat=WINAPI; tool=mingw; tool_prefix=libc; dot2suffix=;;
--linux) EXP=; OBS=; cat=KERNEL; tool=linux; tool_prefix=kernel; dot2suffix=;;
--gdb) EXP=; OBS=; cat=GDB; tool=gdb; tool_prefix=debug; dot2suffix=;;
--dmalloc) EXP=; OBS=; cat=DMALLOC; tool=dmalloc; tool_prefix=debug; dot2suffix=;;
Expand Down

0 comments on commit bea0cde

Please sign in to comment.