[Intel-gfx] [PATCH i-g-t 1/2] meson.sh: Invoke meson correctly
Petri Latvala
petri.latvala at intel.com
Thu Sep 28 15:10:47 UTC 2017
Either source or build directory is required as a command line
parameter.
Also use mkdir -p when creating the build directory to avoid errors
when it already exists.
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
meson.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.sh b/meson.sh
index eff86adb..cbf1a932 100755
--- a/meson.sh
+++ b/meson.sh
@@ -6,8 +6,8 @@ cat > Makefile <<EOF
default: all
build/build.ninja:
- mkdir build
- meson
+ mkdir -p build
+ meson build
all: build/build.ninja
ninja -C build
--
2.14.1
More information about the Intel-gfx
mailing list