summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-02-04 08:50:45 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-19 04:42:07 +0000
commit2d653eea9c0c70bd41cc8459885d9b0c13f2d27e (patch)
treec4016c6bc9d2603c3bb17b5bdf5b44e3a0d930f0 /docs
parent88307eb2bf53f6324eb3c9a609993139880b0f7c (diff)
downloadchrome-ec-2d653eea9c0c70bd41cc8459885d9b0c13f2d27e.tar.gz
zmake: Implement zmake configure for multi-project.
Change zmake configure to work as described in go/zmake-cli-v2. BRANCH=None BUG=b:217788621 TEST=Various zmake configure cmds. Cq-Include-Trybots: luci.chromeos.cq:cq-orchestrator Cq-Depend: chromium:3462900 Change-Id: I58fa4d8427efff64c5764eac6ba4752a71785127 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3445105 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/code_coverage.md4
-rw-r--r--docs/reducing_ec_image_size.md4
-rw-r--r--docs/zephyr/zephyr_build.md6
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/code_coverage.md b/docs/code_coverage.md
index cddc7b671d..93637ac019 100644
--- a/docs/code_coverage.md
+++ b/docs/code_coverage.md
@@ -50,8 +50,8 @@ The coverage report top-level page is
`build/ztest-coverage/coverage_rpt/index.html`.
For manual coverage report you can run:
-`zmake configure --test --coverage <PATH>`
+`zmake configure --test --coverage <TESTNAME>`
Example:
-`zmake configure --test --coverage zephyr/test/drivers/`
+`zmake configure --test --coverage test-drivers`
`genhtml -q -o build/ztest-coverage/coverage_rpt/ build/zephyr/test-drivers/output/zephyr.info`
diff --git a/docs/reducing_ec_image_size.md b/docs/reducing_ec_image_size.md
index e7df161bca..d93d0b4840 100644
--- a/docs/reducing_ec_image_size.md
+++ b/docs/reducing_ec_image_size.md
@@ -122,10 +122,10 @@ images outside chroot before running the commands below.
$ zmake configure -B /tmp/zephyr-volteer volteer
# Build the RO image
-$ ninja -C /tmp/zephyr-volteer/build-ro
+$ ninja -C /tmp/zephyr-volteer/volteer/build-ro
# Generate the ROM report, report sent to stdout
-$ ninja -C /tmp/zephyr-volteer/build-ro rom_report
+$ ninja -C /tmp/zephyr-volteer/volteer/build-ro rom_report
```
Please refer to the [Zephyr Optimization Tools][3] documentation for details on
diff --git a/docs/zephyr/zephyr_build.md b/docs/zephyr/zephyr_build.md
index b49e2ec4b1..c20d4f25e7 100644
--- a/docs/zephyr/zephyr_build.md
+++ b/docs/zephyr/zephyr_build.md
@@ -114,13 +114,13 @@ a rough guide.
First configure the build with the project you want:
```bash
-zmake configure -B /tmp/z/vol volteer
+zmake configure -B /tmp/z volteer
```
Then build with just the target directory:
```
-zmake build /tmp/z/vol
+zmake build /tmp/z/volteer
```
The output is in that directory:
@@ -146,7 +146,7 @@ as well.
It should be possible to do this with:
```bash
-ninja -C /tmp/z/vol/build-ro menuconfig
+ninja -C /tmp/z/volteer/build-ro menuconfig
```
However at present this does not work [b/184662866](http://b/184662866).