[PATCH i-g-t] meson.sh: add setup option for meson
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Dec 14 14:55:30 UTC 2023
New meson version issue warning when running ./meson.sh script:
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Add setup option as a first one for a new build.
Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
Cc: Mauro Carvalho Chehab <mauro.chehab at linux.intel.com>
Cc: Petri Latvala <adrinael at adrinael.net>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
meson.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.sh b/meson.sh
index f83b6d6d4..e54cf4d44 100755
--- a/meson.sh
+++ b/meson.sh
@@ -37,7 +37,7 @@ default: all
build/build.ninja:
\$(Q)mkdir -p build
- \$(Q)meson build \$(quiet_build)
+ \$(Q)meson setup build \$(quiet_build)
all: build/build.ninja
\$(Q)ninja -C build \$(quiet_build)
--
2.42.0
More information about the igt-dev
mailing list