[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 29/39] configure: don't allow plugins to be enabled for a non-
From: |
Alex Bennée |
Subject: |
[PATCH v2 29/39] configure: don't allow plugins to be enabled for a non-TCG build |
Date: |
Thu, 8 Jul 2021 20:09:31 +0100 |
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
- Re: [PATCH v2 28/39] meson.build: move TCG plugin summary output, (continued)
- [PATCH v2 24/39] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/08
- [PATCH v2 38/39] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/08
- [PATCH v2 26/39] tests/tcg: make test-mmap a little less aggressive, Alex Bennée, 2021/07/08
- [PATCH v2 37/39] plugins/cache: Added FIFO and LRU eviction policies, Alex Bennée, 2021/07/08
- [PATCH v2 14/39] tests/docker: fix sorting in package lists, Alex Bennée, 2021/07/08
- [PATCH v2 15/39] tests/docker: fix mistakes in centos package lists, Alex Bennée, 2021/07/08
- [PATCH v2 36/39] plugins/cache: Enable cache parameterization, Alex Bennée, 2021/07/08
- [PATCH v2 17/39] tests/docker: fix mistakes in ubuntu package lists, Alex Bennée, 2021/07/08
- [PATCH v2 29/39] configure: don't allow plugins to be enabled for a non-TCG build,
Alex Bennée <=
- [PATCH v2 22/39] tests/docker: expand ubuntu2004 package list, Alex Bennée, 2021/07/08
- [PATCH v2 20/39] tests/docker: expand fedora package list, Alex Bennée, 2021/07/08
- [PATCH v2 27/39] plugins: fix-up handling of internal hostaddr for 32 bit, Alex Bennée, 2021/07/08
- [PATCH v2 35/39] plugins: Added a new cache modelling plugin, Alex Bennée, 2021/07/08
- [PATCH v2 33/39] contrib/plugins: add execlog to log instruction execution and memory access, Alex Bennée, 2021/07/08
- [PATCH v2 25/39] tests/vm: update openbsd to release 6.9, Alex Bennée, 2021/07/08
- [PATCH v2 23/39] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/08
- [PATCH v2 19/39] tests/docker: expand centos8 package list, Alex Bennée, 2021/07/08