summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2022-12-24 11:28:28 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-12-24 17:50:28 +0200
commit0a8ac1ee06a47079e5272656be4653b1b12916ef (patch)
tree2943ea4ecdbafb2a2c32f1c05aa8ed95a180693f /meson_options.txt
parente83d94915df9cc279161adc9c1b32a09580111e1 (diff)
meson: Only build pipeline handlers needed in the host architecture
By default all pipeline handlers are built, regardless on whether these are needed in the host architecture or not. It makes more sense to build only the pipeline handlers that will be used for the given architecture. Let's do that by default now, but still allow to build the other pipeline handlers if needed, by using the `pipelines` meson option. For example, on a x86-64 platform: $ meson build ... Configuration Enabled pipelines : ipu3 uvcvideo Enabled IPA modules : ipu3 ... $ meson build -Dpipelines="ipu3,raspberrypi,rkisp1" -Dtest=true ... Configuration Enabled pipelines : ipu3 raspberrypi rkisp1 vimc Enabled IPA modules : ipu3 raspberrypi rkisp1 vimc ... Suggested-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 1ba6778c..1a68bcd3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -37,8 +37,18 @@ option('lc-compliance',
option('pipelines',
type : 'array',
- choices : ['imx8-isi', 'ipu3', 'raspberrypi', 'rkisp1', 'simple', 'uvcvideo', 'vimc'],
- description : 'Select which pipeline handlers to include')
+ value : ['auto'],
+ choices : [
+ 'auto',
+ 'imx8-isi',
+ 'ipu3',
+ 'raspberrypi',
+ 'rkisp1',
+ 'simple',
+ 'uvcvideo',
+ 'vimc'
+ ],
+ description : 'Select which pipeline handlers to build. If it this set to auto, all the pipelines applicable to the target architecture will be built.')
option('qcam',
type : 'feature',