meson: Print soft ISP boolean options as YES/NO

All boolean options in libcamera other than the soft ISP options are
printed as YES/NO (with colours when supported by the terminal). Extend
this to the soft ISP options for consistency.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2026-04-03 23:23:40 +03:00
parent 57f5ee99ba
commit 89b1b7617c

View File

@@ -1,7 +1,9 @@
# SPDX-License-Identifier: CC0-1.0
softisp_enabled = pipelines.contains('simple')
summary({'SoftISP support' : softisp_enabled}, section : 'Configuration')
summary({'SoftISP support' : softisp_enabled},
bool_yn : true,
section : 'Configuration')
if not softisp_enabled
subdir_done()
@@ -13,7 +15,9 @@ mesa_works = cc.check_header('EGL/egl.h',
required : get_option('softisp-gpu'),
dependencies : libegl)
summary({'SoftISP GPU acceleration' : mesa_works}, section : 'Configuration')
summary({'SoftISP GPU acceleration' : mesa_works},
bool_yn : true,
section : 'Configuration')
libcamera_internal_sources += files([
'benchmark.cpp',