diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-01-11 10:14:02 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-12 05:22:53 +0000 |
commit | 4b53c8559d4681bc764bd871e7d72ec45aadcee5 (patch) | |
tree | ea770358cad4bd94229fc1411ceaf09a8b8120e5 /docs | |
parent | e1c10dd8d5cf989f2581bd3614a7d3160739602d (diff) | |
download | chrome-ec-4b53c8559d4681bc764bd871e7d72ec45aadcee5.tar.gz |
zephyr: docs: Cleanup notes about updating the chroot
This was written before Zmake's re-exec logic, which was the primary
reason we cautioned people to update the chroot or manually install
zephyr-build-tools so often.
Today, an update_chroot is still necessary for a toolchain update, but
this happens far less often and does not need noted here.
BUG=b:197636145
BRANCH=none
TEST=view in gitiles
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I8e06ffa38f3501f5f2da5e390e3d55c3b1a5b3f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3381042
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/zephyr/zephyr_build.md | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/docs/zephyr/zephyr_build.md b/docs/zephyr/zephyr_build.md index 60a9e1d97e..972dc07ff3 100644 --- a/docs/zephyr/zephyr_build.md +++ b/docs/zephyr/zephyr_build.md @@ -8,27 +8,15 @@ This section describes how to build and use zmake. ## Syncing the source -N.B. The Zephyr build relies on multiple repos and tools which get installed as -packages into the chroot. This means that partial syncs are not supported -(i.e. just doing `repo sync .` in platform/ec). You must run -`~/trunk/src/scripts/update_chroot` frequently, ideally each time you do a full -repo sync. This will update zmake and the repos in src/third_party/zephyr - +*** note +The Zephyr build relies on multiple repos. This means that partial +syncs are not supported (i.e., just doing `repo sync .` in +`platform/ec`), as you may end up with a Zephyr kernel or module which +is not compatible with your EC checkout. +*** ## Working inside the chroot -### Install zmake - -The `zephyr-build-tools` ebuild builds and installed zmake. This should happen -automatically, with the caveat above. - -To do this manually and run tests: - -```bash -FEATURE=test sudo -E emerge zephyr-build-tools -``` - - ### Building You can build zephyr with: |