diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-06-07 13:02:29 +0930 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-08-06 16:02:03 +0100 |
commit | 44f8007c5bc9fe3cbc62afed88552418fd2ec52c (patch) | |
tree | 9ceb137bae07852c0efee5bf108202edce65be6f | |
parent | daa164284d0a8c38e6da83eb5f44fe45d8513cfc (diff) |
Add Linaro versioning
Add a VERSION.LINARO file so it's clear that tarball releases are
from Linaro rather than upstream, and make the configure pkgversion
default to the Linaro version number so that the -version option
says Linaro too (even if the user built from the tarball without
specifying -pkgversion to configure).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | VERSION.LINARO | 1 | ||||
-rwxr-xr-x | configure | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/VERSION.LINARO b/VERSION.LINARO new file mode 100644 index 0000000000..6c0400c774 --- /dev/null +++ b/VERSION.LINARO @@ -0,0 +1 @@ +qemu-linaro from git @@ -196,6 +196,13 @@ guest_agent="yes" libiscsi="" coroutine="" +# If this is a Linaro QEMU tarball then default the pkgversion +# string to say so, so that we clearly distinguish ourselves +# from upstream (and can take the blame for bugs). +if [ -e "$source_path/VERSION.LINARO" ]; then + pkgversion=" ($(head "$source_path/VERSION.LINARO"))" +fi + # parse CC options first for opt do optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'` |