Skip to contentSkip to conversation

meson.sh: add usage instructions at the beginning of the file

PATCH New Mauro Carvalho Chehab 1 participant 1 message Dec 14, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 meson.sh: add usage instructions at the beginning of the file

From: Mauro Carvalho Chehab <[email protected]>

Add some documentation about the supported targets and options.

---
 meson.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
meson.sh +16 -0
index 2ea33d69139e..f83b6d6d4b92 100755
@@ -1,5 +1,21 @@
 #!/bin/sh
 
+# Usage:
+#    ./meson.sh [<options>] [target]
+#
+# Where options can be:
+#	V=0         - disable non-error messages on ninja
+#	V=1         - print all ninja messages (default)
+#
+# And target is the Makefile target. It can be:
+#	all         - build all files
+#	clean       - cleans build
+#	test        - excecute unit tests
+#	reconfigure - run Meson reconfigure via ninja
+#	install     - builds and install IGT
+#	uninstall   - uninstalls IGT from a past installation
+#	docs	    - builds igt-gpu-tools-doc
+
 cat > Makefile <<EOF
 
 quiet_build =
Signature · 1 line
2.43.0