diff options
author | Brandon Maier <brandon.maier@collins.com> | 2023-08-01 21:54:30 +0000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2023-08-03 12:30:55 +1000 |
commit | 761114effaf7216d8d7fc51d8810f2eb27682db8 (patch) | |
tree | 30488b1b4e77dce54231d5cc7f458f511bc958ab | |
parent | bf6377a98d977116f14c438ff2f20d670b6d247a (diff) | |
download | dtc-761114effaf7216d8d7fc51d8810f2eb27682db8.tar.gz |
pylibtfdt: fix use of deprecated meson method
Fixes the following warning
> pylibfdt/meson.build:2: WARNING: Project targets '>=0.56.0' but uses
feature deprecated since '0.55.0': ExternalProgram.path. use
ExternalProgram.full_path() instead
Do not use full_path() as suggested. setup_py is being called as a
command by custom_target() which understands how to properly inherit the
object returned by find_program().
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | pylibfdt/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylibfdt/meson.build b/pylibfdt/meson.build index f684cbb..b3f5ebd 100644 --- a/pylibfdt/meson.build +++ b/pylibfdt/meson.build @@ -1,5 +1,5 @@ setup_py = find_program('../setup.py') -setup_py = [setup_py.path(), '--quiet', '--top-builddir', meson.project_build_root()] +setup_py = [setup_py, '--quiet', '--top-builddir', meson.project_build_root()] custom_target( 'pylibfdt', |