From 3fb7ddf3bc59b9989af1d8fd2c9cfcb3bfc66e02 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 1 Mar 2021 13:32:13 -0800 Subject: [PATCH] Update m help text with guidance on parallelism Remove "-j" from the default recommended arguments and add a paragraph describing the -j behavior. Test: m help Change-Id: Id5a5f4719f18ea2a9d09df43f5fb38592a59f5c9 --- help.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/help.sh b/help.sh index 4af51548c..bdb078fa4 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 [-] # Choose the device to target. -m -j [] # Execute the configured build. +m [] # 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/