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:
Laurent Pinchart 2020-03-25 09:48:54 +02:00
parent a25533089b
commit ee7e2c93df
3 changed files with 16 additions and 6 deletions

View file

@ -12,6 +12,11 @@ option('gstreamer',
value : 'auto',
description : 'Compile libcamera GStreamer plugin')
option('pipelines',
type : 'array',
choices : ['ipu3', 'rkisp1', 'uvcvideo', 'vimc'],
description : 'Select which pipeline handlers to include')
option('test',
type : 'boolean',
description: 'Compile and include the tests')