[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 29/40] configure: don't allow plugins to be enabled for a non-
From: |
Alex Bennée |
Subject: |
[PATCH v3 29/40] configure: don't allow plugins to be enabled for a non-TCG build |
Date: |
Fri, 9 Jul 2021 15:29:54 +0100 |
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
v2
- error out after all options have been processed
---
configure | 6 ++++++
1 file changed, 6 insertions(+)
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
- [PATCH v3 24/40] tests/vm: update NetBSD to 9.2, (continued)
- [PATCH v3 24/40] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/09
- [PATCH v3 40/40] MAINTAINERS: Added myself as a reviewer for TCG Plugins, Alex Bennée, 2021/07/09
- [PATCH v3 28/40] meson.build: move TCG plugin summary output, Alex Bennée, 2021/07/09
- [PATCH v3 27/40] plugins: fix-up handling of internal hostaddr for 32 bit, Alex Bennée, 2021/07/09
- [PATCH v3 26/40] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/09
- [PATCH v3 22/40] tests/docker: expand ubuntu2004 package list, Alex Bennée, 2021/07/09
- [PATCH v3 20/40] tests/docker: expand fedora package list, Alex Bennée, 2021/07/09
- [PATCH v3 30/40] configure: add an explicit static and plugins check, Alex Bennée, 2021/07/09
- [PATCH v3 29/40] configure: don't allow plugins to be enabled for a non-TCG build,
Alex Bennée <=
- [PATCH v3 31/40] configure: stop user enabling plugins on Windows for now, Alex Bennée, 2021/07/09
- [PATCH v3 23/40] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/09
- [PATCH v3 13/40] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/09
- [PATCH v3 33/40] contrib/plugins: enable -Wall for building plugins, Alex Bennée, 2021/07/09
- [PATCH v3 39/40] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/09
- [PATCH v3 37/40] plugins/cache: Enable cache parameterization, Alex Bennée, 2021/07/09
- [PATCH v3 25/40] tests/vm: update openbsd to release 6.9, Alex Bennée, 2021/07/09
- [PATCH v3 34/40] contrib/plugins: add execlog to log instruction execution and memory access, Alex Bennée, 2021/07/09
- [PATCH v3 35/40] docs/devel: tcg-plugins: add execlog plugin description, Alex Bennée, 2021/07/09
- [PATCH v3 36/40] plugins: Added a new cache modelling plugin, Alex Bennée, 2021/07/09