summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-03-02 02:04:36 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-03-02 02:04:36 +0000
commitafeb2bc404640735c97b9428539a0061d06fd5ed (patch)
tree9561af63d69e299fee22e866be99fa6f6ef2c781
parent0547bfd7748b49e306cdf74156d874a929af3481 (diff)
parentf3b8056189eedad18c2ad644ea8d66f46f272571 (diff)
Merge "Update m help text with guidance on parallelism" am: f3b8056189
Original change: https://android-review.googlesource.com/c/platform/build/+/1612064 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2c9de7523364d907232b038447e4aa07be3aa812
-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/