aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-03-02 01:11:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-02 01:11:33 +0000
commitf3b8056189eedad18c2ad644ea8d66f46f272571 (patch)
treece08933d10b49694c5c7bf4511e6e6a147b9c222
parent5553b5704c49b61f0409b02800944e802013d0b5 (diff)
parent3fb7ddf3bc59b9989af1d8fd2c9cfcb3bfc66e02 (diff)
downloadbuild-f3b8056189eedad18c2ad644ea8d66f46f272571.tar.gz
Merge "Update m help text with guidance on parallelism"
-rwxr-xr-xhelp.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/help.sh b/help.sh
index 4af51548cd..bdb078fa4d 100755
--- a/help.sh
+++ b/help.sh
@@ -12,11 +12,15 @@ cd '"${TOP}"'
source build/envsetup.sh # Add "lunch" (and other utilities and variables)
# to the shell environment.
lunch [<product>-<variant>] # Choose the device to target.
-m -j [<goals>] # Execute the configured build.
+m [<goals>] # Execute the configured build.
Usage of "m" imitates usage of the program "make".
See '"${SCRIPT_DIR}"'/Usage.txt for more info about build usage and concepts.
+The parallelism of the build can be set with a -jN argument to "m". If you
+don't provide a -j argument, the build system automatically selects a parallel
+task count that it thinks is optimal for your system.
+
Common goals are:
clean (aka clobber) equivalent to rm -rf out/