[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 29/39] configure: don't allow plugins to be enabled for a non-
From: |
Alex Bennée |
Subject: |
[PATCH v1 29/39] configure: don't allow plugins to be enabled for a non-TCG build |
Date: |
Tue, 6 Jul 2021 15:58:07 +0100 |
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 650d9c0735..44a487e090 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"
;;
@@ -1509,7 +1510,11 @@ for opt do
;;
--disable-xkbcommon) xkbcommon="disabled"
;;
- --enable-plugins) plugins="yes"
+ --enable-plugins) if test "$tcg" = "enabled"; then
+ plugins="yes"
+ else
+ error_exit "Can't enable plugins on non-TCG builds"
+ fi
;;
--disable-plugins) plugins="no"
;;
--
2.20.1
- [PATCH v1 17/39] tests/docker: fix mistakes in ubuntu package lists, (continued)
- [PATCH v1 17/39] tests/docker: fix mistakes in ubuntu package lists, Alex Bennée, 2021/07/06
- [PATCH v1 31/39] tcg/plugins: enable by default for TCG builds, Alex Bennée, 2021/07/06
- [PATCH v1 25/39] tests/vm: update openbsd to release 6.9, Alex Bennée, 2021/07/06
- [PATCH v1 38/39] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/06
- [PATCH v1 24/39] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/06
- [PATCH v1 18/39] tests/docker: remove mingw packages from Fedora, Alex Bennée, 2021/07/06
- [PATCH v1 35/39] plugins: Added a new cache modelling plugin, Alex Bennée, 2021/07/06
- [PATCH v1 29/39] configure: don't allow plugins to be enabled for a non-TCG build,
Alex Bennée <=
- Re: [PATCH v1 00/39] final pre-PR for 6.1 (testing and plugins), Philippe Mathieu-Daudé, 2021/07/07