mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 18:35:07 +03:00
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>
This commit is contained in:
parent
a25533089b
commit
ee7e2c93df
3 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
subdir('ipu3')
|
||||
subdir('rkisp1')
|
||||
subdir('uvcvideo')
|
||||
subdir('vimc')
|
||||
foreach pipeline : get_option('pipelines')
|
||||
subdir(pipeline)
|
||||
endforeach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue