mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
configure: don't allow plugins to be enabled for a non-TCG build
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210709143005.1554-30-alex.bennee@linaro.org>
This commit is contained in:
parent
2572ac1b22
commit
d1a142572d
1 changed files with 6 additions and 0 deletions
6
configure
vendored
6
configure
vendored
|
@ -1110,6 +1110,7 @@ for opt do
|
||||||
--enable-cap-ng) cap_ng="enabled"
|
--enable-cap-ng) cap_ng="enabled"
|
||||||
;;
|
;;
|
||||||
--disable-tcg) tcg="disabled"
|
--disable-tcg) tcg="disabled"
|
||||||
|
plugins="no"
|
||||||
;;
|
;;
|
||||||
--enable-tcg) tcg="enabled"
|
--enable-tcg) tcg="enabled"
|
||||||
;;
|
;;
|
||||||
|
@ -1575,6 +1576,11 @@ for opt do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# test for any invalid configuration combinations
|
||||||
|
if test "$plugins" = "yes" -a "$tcg" = "disabled"; then
|
||||||
|
error_exit "Can't enable plugins on non-TCG builds"
|
||||||
|
fi
|
||||||
|
|
||||||
case $git_submodules_action in
|
case $git_submodules_action in
|
||||||
update|validate)
|
update|validate)
|
||||||
if test ! -e "$source_path/.git"; then
|
if test ! -e "$source_path/.git"; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue