diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2022-12-28 16:42:42 -0600 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2022-12-30 20:03:36 -0600 |
commit | 0081e4e6b2941ea47fdf3959696d8edc2629477c (patch) | |
tree | 9b39d5c71f1caa3f441ff2c7a6b8890275b16300 | |
parent | e1b81401cafa2e071b0903c0afe8363e84c11ede (diff) |
meson: Add 'all' choice to pipelines option
Add an 'all' choice to the pipelines option, for building all pipelines.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
-rw-r--r-- | meson.build | 12 | ||||
-rw-r--r-- | meson_options.txt | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/meson.build b/meson.build index df9099d0..e86673dd 100644 --- a/meson.build +++ b/meson.build @@ -164,6 +164,18 @@ liblttng = dependency('lttng-ust', required : get_option('tracing')) # are enabled. pipelines = get_option('pipelines') +if pipelines.contains('all') + pipelines = [ + 'imx8-isi', + 'ipu3', + 'raspberrypi', + 'rkisp1', + 'simple', + 'uvcvideo', + 'vimc', + ] +endif + if pipelines.contains('auto') host_cpu = host_machine.cpu_family() pipelines = [] diff --git a/meson_options.txt b/meson_options.txt index 793cda93..78a78b72 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -39,6 +39,7 @@ option('pipelines', type : 'array', value : ['auto'], choices : [ + 'all', 'auto', 'imx8-isi', 'ipu3', @@ -48,7 +49,7 @@ option('pipelines', 'uvcvideo', 'vimc' ], - description : 'Select which pipeline handlers to build. If this is set to auto, all the pipelines applicable to the target architecture will be built.') + description : 'Select which pipeline handlers to build. If this is set to "auto", all the pipelines applicable to the target architecture will be built. If this is set to "all", all the pipelines will be built. If both are selected then "all" will take precedence.') option('qcam', type : 'feature', |