[PATCH i-g-t 1/2] meson.sh: Invoke meson correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux