* sim-release.sh (tar_compress): If there's a fifth parameter,
use that in the getver call instead of $tool.
(sim_release): Pass gdb as fifth parameter to tar_compress.
(SIM_SUPPORT_DIRS): Add gdb/common/create-version.sh.
+2015-04-15 Mike Frysinger <vapier@gentoo.org>
+ Hans-Peter Nilsson <hp@axis.com>
+
+ Adjust src-release.sh for sim using the gdb create-version.sh.
+ * sim-release.sh (tar_compress): If there's a fifth parameter,
+ use that in the getver call instead of $tool.
+ (sim_release): Pass gdb as fifth parameter to tar_compress.
+ (SIM_SUPPORT_DIRS): Add gdb/common/create-version.sh.
+
2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Add --with-system-zlib.
tool=$2
support_files=$3
compressors=$4
- ver=$(getver $tool)
+ verdir=${5:-$tool}
+ ver=$(getver $verdir)
do_proto_toplev $package $ver $tool "$support_files"
do_md5sum
do_tar $package $ver
}
# Corresponding to the CVS "sim" module.
-SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in makefile.vms zlib"
+SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in gdb/common/create-version.sh makefile.vms zlib"
sim_release()
{
compressors=$1
package=sim
tool=sim
- tar_compress $package $tool "$SIM_SUPPORT_DIRS" "$compressors"
+ tar_compress $package $tool "$SIM_SUPPORT_DIRS" "$compressors" gdb
}
usage()