diff options
| -rwxr-xr-x | meta/recipes-devtools/meson/meson/meson-wrapper | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/meta/recipes-devtools/meson/meson/meson-wrapper b/meta/recipes-devtools/meson/meson/meson-wrapper index 7455985297..3aa1a93520 100755 --- a/meta/recipes-devtools/meson/meson/meson-wrapper +++ b/meta/recipes-devtools/meson/meson/meson-wrapper | |||
| @@ -14,8 +14,14 @@ fi | |||
| 14 | unset CC CXX CPP LD AR NM STRIP | 14 | unset CC CXX CPP LD AR NM STRIP |
| 15 | 15 | ||
| 16 | case "$1" in | 16 | case "$1" in |
| 17 | setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help) MESON_CMD="$1" ;; | 17 | setup|configure|dist|install|introspect|init|test|wrap|subprojects|rewrite|compile|devenv|env2mfile|help) |
| 18 | *) echo meson-wrapper: Implicit setup command assumed; MESON_CMD=setup ;; | 18 | MESON_CMD="$1" |
| 19 | shift | ||
| 20 | ;; | ||
| 21 | *) | ||
| 22 | MESON_CMD=setup | ||
| 23 | echo meson-wrapper: Implicit setup command assumed | ||
| 24 | ;; | ||
| 19 | esac | 25 | esac |
| 20 | 26 | ||
| 21 | if [ "$MESON_CMD" = "setup" ]; then | 27 | if [ "$MESON_CMD" = "setup" ]; then |
| @@ -27,5 +33,6 @@ if [ "$MESON_CMD" = "setup" ]; then | |||
| 27 | fi | 33 | fi |
| 28 | 34 | ||
| 29 | exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \ | 35 | exec "$OECORE_NATIVE_SYSROOT/usr/bin/meson.real" \ |
| 30 | "$@" \ | 36 | $MESON_CMD \ |
| 31 | $MESON_SETUP_OPTS | 37 | $MESON_SETUP_OPTS \ |
| 38 | "$@" | ||
