diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2021-05-07 11:28:40 +0530 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-05-11 11:50:45 +0100 |
commit | 17bf7df22762b0ecb64d0c72baed608a90363199 (patch) | |
tree | 70144f7932e8b2e7b1ee7f83c1852c4ccf7faffd /src/libcamera | |
parent | 99feb66df02988831c9e8535649b99fad9a78069 (diff) |
meson: Replace obselete join_paths() with '/' operator
Since meson v0.49.0, join_paths() is equivalent to '/' hence,
drop and replace it with '/' short-hand in meson files.
This commit does not introduce any functional changes.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/libcamera')
-rw-r--r-- | src/libcamera/meson.build | 2 | ||||
-rw-r--r-- | src/libcamera/proxy/worker/meson.build | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 675053d4..7bc59b84 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -103,7 +103,7 @@ endforeach libcamera_sources += control_sources -gen_version = join_paths(meson.source_root(), 'utils', 'gen-version.sh') +gen_version = meson.source_root() / 'utils' / 'gen-version.sh' version_cpp = vcs_tag(command : [gen_version, meson.build_root()], input : 'version.cpp.in', diff --git a/src/libcamera/proxy/worker/meson.build b/src/libcamera/proxy/worker/meson.build index 3796103e..40dada9d 100644 --- a/src/libcamera/proxy/worker/meson.build +++ b/src/libcamera/proxy/worker/meson.build @@ -1,6 +1,6 @@ # SPDX-License-Identifier: CC0-1.0 -proxy_install_dir = join_paths(get_option('libexecdir'), 'libcamera') +proxy_install_dir = get_option('libexecdir') / 'libcamera' # generate {pipeline}_ipa_proxy_worker.cpp foreach mojom : ipa_mojoms @@ -25,4 +25,4 @@ foreach mojom : ipa_mojoms endforeach config_h.set('IPA_PROXY_DIR', - '"' + join_paths(get_option('prefix'), proxy_install_dir) + '"') + '"' + get_option('prefix') / proxy_install_dir + '"') |