Fixes the following warning during the prepare stage of meson based
packages:

  WARNING: Running the setup command as `meson [options]` instead of `meson 
setup [options]` is ambiguous and deprecated.

The meson setup command is available since 0.42 and was marked as
deprecated in Meson 0.64.

Fixes: f4c1eef53247 ("host-meson: version bump 0.61.4 -> 1.0.0")
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 scripts/lib/ptxd_make_world_prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_make_world_prepare.sh 
b/scripts/lib/ptxd_make_world_prepare.sh
index b94b91edf709..591e9a1f0255 100644
--- a/scripts/lib/ptxd_make_world_prepare.sh
+++ b/scripts/lib/ptxd_make_world_prepare.sh
@@ -149,7 +149,7 @@ ptxd_make_world_prepare_meson() {
        "${pkg_path}" \
        "${pkg_env}" \
        "${pkg_conf_env}" \
-       meson \
+       meson setup \
        "${pkg_conf_opt}" \
        "${pkg_conf_dir}" &&
     ptxd_make_world_compile_commands_filter
-- 
2.30.2


Reply via email to