@@ -60,9 +60,12 @@ Meson Build system: [required]
for the libcamera core: [required]
libyaml-dev python3-yaml python3-ply python3-jinja2
-for IPA module signing: [optional]
+for IPA module signing: [recommended]
libgnutls28-dev openssl
+ Without IPA module signing, all IPA modules will be isolated in a
+ separate process. This adds an unnecessary extra overhead at runtime.
+
for improved debugging: [optional]
libdw-dev libunwind-dev
@@ -71,6 +71,8 @@ libyaml = dependency('yaml-0.1', required : false)
if libgnutls.found()
config_h.set('HAVE_GNUTLS', 1)
+else
+ warning('gnutls not found, all IPA modules will be isolated')
endif
if liblttng.found()
@@ -22,6 +22,7 @@ if openssl.found()
config_h.set('HAVE_IPA_PUBKEY', 1)
ipa_sign_module = true
else
+ warning('openssl not found, all IPA modules will be isolated')
ipa_sign_module = false
endif
While gnutls and openssl are not strictly required, the overheard introduced by isolating all IPA modules when signatures are not available is better avoided. Document the dependencies as recommended, and warn at meson setup time if they are not found. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- README.rst | 5 ++++- src/libcamera/meson.build | 2 ++ src/meson.build | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)