Commit cbc1e78d authored by Petri Latvala's avatar Petri Latvala

meson.sh: Invoke meson correctly

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's avatarPetri Latvala <petri.latvala@intel.com>
Reviewed-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 47ae1f8c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment