meson: summarise paths
The IPAs are loaded from a defined location set as IPA_MODULE_DIR.
Furthermore, configuration files for both libcamera and IPAs are loaded
from paths defined during the meson configuration.
To make it easy to identify these locations for a given configuration,
present them as a 'paths' section in the meson summary.
This adds a summary section to meson in the form:
Paths
LIBCAMERA_DATA_DIR : "/usr/share/libcamera"
LIBCAMERA_SYSCONF_DIR : "/etc/camera/libcamera"
IPA_PROXY_DIR : "/usr/libexec/libcamera"
IPA_CONFIG_DIR : "/etc/camera/libcamera/ipa:/usr/share/libcamera/ipa"
IPA_MODULE_DIR : "/usr/lib/x86_64-linux-gnu/libcamera"
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -26,3 +26,7 @@ endforeach
|
||||
|
||||
config_h.set('IPA_PROXY_DIR',
|
||||
'"' + get_option('prefix') / proxy_install_dir + '"')
|
||||
|
||||
summary({
|
||||
'IPA_PROXY_DIR' : config_h.get('IPA_PROXY_DIR'),
|
||||
}, section : 'Paths')
|
||||
|
||||
Reference in New Issue
Block a user