dgibson / dtc

Device Tree Compiler
215 stars 127 forks source link

fix use of deprecated Meson methods #113

Closed blmaier closed 12 months ago

blmaier commented 12 months ago

tests: fix use of deprecated meson methods

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.

pylibtfdt: fix use of deprecated meson method

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().

dgibson commented 12 months ago

Much nicer, thanks. Merged.