diff options
author | Peter Maydell | 2019-03-07 15:26:47 +0100 |
---|---|---|
committer | Peter Maydell | 2019-03-07 15:26:47 +0100 |
commit | 57b49737ae467fd95504de7b2d755a994e7cec4b (patch) | |
tree | 3c9035fd66bad6498c05254187568cfcf446751c /hw/i386/pc_piix.c | |
parent | Makefile, configure: Support building rST documentation (diff) | |
download | qemu-57b49737ae467fd95504de7b2d755a994e7cec4b.tar.gz qemu-57b49737ae467fd95504de7b2d755a994e7cec4b.tar.xz qemu-57b49737ae467fd95504de7b2d755a994e7cec4b.zip |
Makefile: Abstract out "identify the pkgversion" code
Abstract out the "identify the pkgversion" code from the
rule for creating qemu-version.h, so it sets makefile
variables for QEMU_PKGVERSION and QEMU_FULL_VERSION.
(We will want to use these when building the Sphinx docs.)
NB: As we abstract this out, we use -e to check for .git
rather than -d, since in some situations .git may be a file
rather than a directory.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190305172139.32662-11-peter.maydell@linaro.org
Message-id: 20190228145624.24885-11-peter.maydell@linaro.org
Diffstat (limited to 'hw/i386/pc_piix.c')
0 files changed, 0 insertions, 0 deletions