Hi,

This patch checks for the presence of guess-rev.sh, if it is not present it
is a file release.
A release build can also be forced with the --enable-release configure
option

If configure finds guess-rev.sh the output string will be as it is now:
Open On-Chip Debugger 1.0 (2009-01-19-20:24) svn:1340
without guess-rev.sh (a dist release) it will output
Open On-Chip Debugger 1.0 (2009-01-19-20:24) Release

so when we make a release it will not fail on getting the svn rev.
I will commit if no objections.

Cheers
Spen

Attachment: build.patch
Description: Binary data

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to