diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-25 09:48:54 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-25 12:21:13 +0200 |
commit | ee7e2c93dfbf34b3500c895115c516e5e90d3e31 (patch) | |
tree | ebb230595311cf674313955c3f998874de12a79a /src/ipa | |
parent | a25533089bda04daf0243eda7e316baea0737e19 (diff) |
libcamera: Make pipeline handlers selectable at compile time
Add a 'pipelines' project option that specifies which pipeline handlers
to compile in. The corresponding IPA modules are automatically selected.
The default is to compile all pipeline handlers.
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/ipa')
-rw-r--r-- | src/ipa/meson.build | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ipa/meson.build b/src/ipa/meson.build index 9aaf9249..73278a60 100644 --- a/src/ipa/meson.build +++ b/src/ipa/meson.build @@ -9,5 +9,11 @@ config_h.set('IPA_MODULE_DIR', '"' + join_paths(get_option('prefix'), ipa_install_dir) + '"') subdir('libipa') -subdir('rkisp1') -subdir('vimc') + +ipas = ['rkisp1', 'vimc'] + +foreach pipeline : get_option('pipelines') + if ipas.contains(pipeline) + subdir(pipeline) + endif +endforeach |