diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-08-05 15:58:49 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-05 17:21:41 +0000 |
commit | ab36e4ff4322b9c3bcdb59ecaf19e055b1365545 (patch) | |
tree | b44de7845c0e9d0a096359f403fe9c560fad6c79 /docs/zephyr | |
parent | 8c95f2bd1e4ec646ca5c39fe625c5e9701b4245a (diff) | |
download | chrome-ec-ab36e4ff4322b9c3bcdb59ecaf19e055b1365545.tar.gz |
Revert "zephyr: Make ZEPHYR_BASE not an environment variable"
This reverts commit d16be8f98d81d7e589935d1c6c78ec4430a8960d.
Reason for revert: suspected at fault for b/241489955
(suspect we're stripping ccache environment variables in ninja call)
BUG=b:241489955
TEST=CQ
Original change's description:
> zephyr: Make ZEPHYR_BASE not an environment variable
>
> To minimize the amount of environment variable dependency we have, move
> ZEPHYR_BASE (used to find the "Zephyr" CMake package) from an
> environment variable to a CMake definition.
>
> This makes our only required environment variable PATH, so we can do a
> complete environment scrub for all commands executed.
>
> BUG=b:239619222
> BRANCH=none
> TEST=zmake testall
>
> Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
> Change-Id: Ie34a9e1f49177649cf0e54c95d73b41bd1b94992
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3811715
> Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Bug: b:239619222
Change-Id: I9cfdb04fc61d013ba670049c5dbbeeca7de4893c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3813042
Auto-Submit: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Bob Moragues <moragues@chromium.org>
Diffstat (limited to 'docs/zephyr')
-rw-r--r-- | docs/zephyr/project_config.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/zephyr/project_config.md b/docs/zephyr/project_config.md index 6e1346b0fa..f12d47ba36 100644 --- a/docs/zephyr/project_config.md +++ b/docs/zephyr/project_config.md @@ -112,7 +112,7 @@ This file, should at minimum contain the following: ``` cmake cmake_minimum_required(VERSION 3.20.1) -find_package(Zephyr REQUIRED HINTS "${ZEPHYR_BASE}") +find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(ec) ``` |