mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
tests: fix use of deprecated meson methods
Fixes the following warnings > tests/meson.build:123: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead > tests/meson.build:124: WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead. Signed-off-by: Brandon Maier <brandon.maier@collins.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
761114effa
commit
8d8372b137
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ if not py.found()
|
|||
env += 'NO_PYTHON=1'
|
||||
else
|
||||
env += [
|
||||
'PYTHON=' + py.path(),
|
||||
'PYTHONPATH=' + meson.source_root() / 'pylibfdt',
|
||||
'PYTHON=' + py.full_path(),
|
||||
'PYTHONPATH=' + meson.project_source_root() / 'pylibfdt',
|
||||
]
|
||||
endif
|
||||
if not yaml.found()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue