Re: breakage with "switch to gdb version script"

Mike Frysinger
2015-04-14T15:29:27Z

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On 13 Apr 2015 16:35, Hans-Peter Nilsson wrote:
> While that seems pretty trivial, you also need to adjust
> src-release.sh to make sure "./src-release.sh -b sim" works,
> in which a tool-specific create-version.sh is searched.

this probably does it, but i've never used src-release before ...
-mike

--- a/src-release.sh
+++ b/src-release.sh
@@ -244,7 +244,8 @@ tar_compress()
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
@@ -301,7 +302,7 @@ 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()

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]