summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/ipu3/meson.build')
-rw-r--r--src/ipa/ipu3/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ipa/ipu3/meson.build b/src/ipa/ipu3/meson.build
new file mode 100644
index 00000000..b6364190
--- /dev/null
+++ b/src/ipa/ipu3/meson.build
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: CC0-1.0
+
+ipa_name = 'ipa_ipu3'
+
+ipu3_ipa_sources = files([
+ 'ipu3.cpp',
+ 'ipu3_agc.cpp',
+ 'ipu3_awb.cpp',
+])
+
+mod = shared_module(ipa_name,
+ [ipu3_ipa_sources, libcamera_generated_ipa_headers],
+ name_prefix : '',
+ include_directories : [ipa_includes, libipa_includes],
+ dependencies : libcamera_private,
+ link_with : libipa,
+ install : true,
+ install_dir : ipa_install_dir)
+
+if ipa_sign_module
+ custom_target(ipa_name + '.so.sign',
+ input : mod,
+ output : ipa_name + '.so.sign',
+ command : [ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@'],
+ install : false,
+ build_by_default : true)
+endif