[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 29/40] configure: don't allow plugins to be enabled for a non-TCG
From: |
Alex Bennée |
Subject: |
[PULL 29/40] configure: don't allow plugins to be enabled for a non-TCG build |
Date: |
Mon, 12 Jul 2021 13:26:42 +0100 |
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>
diff --git a/configure b/configure
index 650d9c0735..7f906be68d 100755
--- a/configure
+++ b/configure
@@ -1098,6 +1098,7 @@ for opt do
--enable-cap-ng) cap_ng="enabled"
;;
--disable-tcg) tcg="disabled"
+ plugins="no"
;;
--enable-tcg) tcg="enabled"
;;
@@ -1563,6 +1564,11 @@ for opt do
esac
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
update|validate)
if test ! -e "$source_path/.git"; then
--
2.20.1
- [PULL 03/40] Jobs based on custom runners: docs and gitlab-runner setup playbook, (continued)
- [PULL 03/40] Jobs based on custom runners: docs and gitlab-runner setup playbook, Alex Bennée, 2021/07/12
- [PULL 06/40] build: validate that system capstone works before using it, Alex Bennée, 2021/07/12
- [PULL 04/40] Jobs based on custom runners: add job definitions for QEMU's machines, Alex Bennée, 2021/07/12
- [PULL 09/40] hw/usb/ccid: remove references to NSS, Alex Bennée, 2021/07/12
- [PULL 05/40] tests/tcg: also disable the signals test for plugins, Alex Bennée, 2021/07/12
- [PULL 31/40] configure: stop user enabling plugins on Windows for now, Alex Bennée, 2021/07/12
- [PULL 07/40] gitlab: support for FreeBSD 12, 13 and macOS 11 via cirrus-run, Alex Bennée, 2021/07/12
- [PULL 08/40] cirrus: delete FreeBSD and macOS jobs, Alex Bennée, 2021/07/12
- [PULL 10/40] tests/docker: don't use BUILDKIT in GitLab either, Alex Bennée, 2021/07/12
- [PULL 36/40] plugins: Added a new cache modelling plugin, Alex Bennée, 2021/07/12
- [PULL 29/40] configure: don't allow plugins to be enabled for a non-TCG build,
Alex Bennée <=
- [PULL 27/40] plugins: fix-up handling of internal hostaddr for 32 bit, Alex Bennée, 2021/07/12
- [PULL 33/40] contrib/plugins: enable -Wall for building plugins, Alex Bennée, 2021/07/12
- [PULL 35/40] docs/devel: tcg-plugins: add execlog plugin description, Alex Bennée, 2021/07/12
- [PULL 11/40] tests/docker: use project specific container registries, Alex Bennée, 2021/07/12
- [PULL 13/40] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/12
- [PULL 24/40] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/12
- [PULL 23/40] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/12
- [PULL 26/40] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/12
- [PULL 32/40] tcg/plugins: enable by default for most TCG builds, Alex Bennée, 2021/07/12