[libcamera-devel] [PATCH] meson: ipa, proxy: Only build proxies for enabled pipelines
Niklas Söderlund
niklas.soderlund at ragnatech.se
Wed Feb 17 11:03:58 CET 2021
All the IPA proxies are build unconditionally consuming unneeded build
time and disk space on target. Fix this by only building the proxies for
the enabled pipelines.
Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
---
include/libcamera/ipa/meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/libcamera/ipa/meson.build b/include/libcamera/ipa/meson.build
index fe8aa65b7d0bfd6d..a4d3f868dd41276f 100644
--- a/include/libcamera/ipa/meson.build
+++ b/include/libcamera/ipa/meson.build
@@ -72,6 +72,10 @@ ipa_mojoms = []
foreach file : ipa_mojom_files
name = file.split('.')[0]
+ if not get_option('pipelines').contains(name)
+ continue
+ endif
+
# {pipeline}.mojom-module
mojom = custom_target(file.split('.')[0] + '_mojom_module',
input : file,
--
2.30.1
More information about the libcamera-devel
mailing list