summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-30 04:13:48 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-04-30 13:18:05 +0300
commit25a101846d02af48c53109038a891f2aeb1ac8db (patch)
treee5e0cdc8fb9df455a43d71e2498b5ccca0298159 /src
parent9e41dfbbffc59fab90aeb7bae34f2ca91c23b16e (diff)
libcamera: Build IPA module signatures by default
Commit 7206035ee609 ("libcamera: Regenerate IPA module signatures at install time") replaced installation of the IPA module signatures with an install script that signs all modules. While doing so, it inadvertently also disabled generation of the signature at build time by default. This breaks running libcamera binaries from the build directory. Fix it. Fixes: 7206035ee609 ("libcamera: Regenerate IPA module signatures at install time") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-rw-r--r--src/ipa/rkisp1/meson.build3
-rw-r--r--src/ipa/vimc/meson.build3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ipa/rkisp1/meson.build b/src/ipa/rkisp1/meson.build
index 6c6aa82f..d7127ea8 100644
--- a/src/ipa/rkisp1/meson.build
+++ b/src/ipa/rkisp1/meson.build
@@ -14,5 +14,6 @@ if ipa_sign_module
input : mod,
output : ipa_name + '.so.sign',
command : [ ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@' ],
- install : false)
+ install : false,
+ build_by_default : true)
endif
diff --git a/src/ipa/vimc/meson.build b/src/ipa/vimc/meson.build
index 253847e1..22296a02 100644
--- a/src/ipa/vimc/meson.build
+++ b/src/ipa/vimc/meson.build
@@ -14,7 +14,8 @@ if ipa_sign_module
input : mod,
output : ipa_name + '.so.sign',
command : [ ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@' ],
- install : false)
+ install : false,
+ build_by_default : true)
endif
subdir('data')