ipa: Move IPA installations to a subdir
diff mbox series

Message ID 20250510090713.7114-1-kieran.bingham@ideasonboard.com
State New
Headers show
Series
  • ipa: Move IPA installations to a subdir
Related show

Commit Message

Kieran Bingham May 10, 2025, 9:07 a.m. UTC
IPAs are expected to live within a directory that is searched by the
IPAManager.  If other non-IPA so files are installed in the same
location, then the user may be presented with an error message reporting
that the module could not be parsed.

Move IPA modules to an ipa specific subdirectory to ensure we only parse
.so files that are expected to be IPA modules at load time.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=268
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 src/ipa/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index 0ad4631def27..68f64b9a6fa3 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -4,7 +4,7 @@  ipa_includes = [
     libcamera_includes,
 ]
 
-ipa_install_dir = libcamera_libdir
+ipa_install_dir = libcamera_libdir / 'ipa'
 ipa_data_dir = libcamera_datadir / 'ipa'
 ipa_sysconf_dir = libcamera_sysconfdir / 'ipa'