Skip to contentSkip to conversation

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

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

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

From: Mauro Carvalho Chehab <[email protected]>

It is useful to have some documentation about the supported targets and options.

Add it.

---
 meson.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
meson.sh +16 -0
index 2ea33d69139e..5fb5a806d661 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 (default) - print all ninja messages
+#
+# 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