diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-04-29 16:53:25 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-06-16 15:38:45 +0100 |
commit | 94d1af771e5f59237c4f3357bcab2d78012f0fea (patch) | |
tree | ba166cdfb1e6279f847b14bb3fcda67dd72f4f1b /src/meson.build | |
parent | 1fea2730a162905794277b7c21dee283c9cd3a02 (diff) |
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>
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build index edb7ce14..57396605 100644 --- a/src/meson.build +++ b/src/meson.build @@ -8,6 +8,11 @@ libcamera_sysconfdir = get_option('sysconfdir') / 'libcamera' config_h.set('LIBCAMERA_DATA_DIR', '"' + get_option('prefix') / libcamera_datadir + '"') config_h.set('LIBCAMERA_SYSCONF_DIR', '"' + get_option('prefix') / libcamera_sysconfdir + '"') +summary({ + 'LIBCAMERA_DATA_DIR' : config_h.get('LIBCAMERA_DATA_DIR'), + 'LIBCAMERA_SYSCONF_DIR' : config_h.get('LIBCAMERA_SYSCONF_DIR'), + }, section : 'Paths') + # Module Signing openssl = find_program('openssl', required : true) if openssl.found() |