diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-12-14 16:37:17 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-15 03:56:00 +0000 |
commit | 51aaf7dadf38aa04fe5472030bcd078108aeba50 (patch) | |
tree | df41186d6e1c9eb793119feb3c746c279fa593be | |
parent | dfc24d03d58e0c4b015898f605228f12c9c4015e (diff) | |
download | chrome-ec-51aaf7dadf38aa04fe5472030bcd078108aeba50.tar.gz |
zmake: change projects to chroot-supported toolchains
Switch all zmake.yaml files to chroot-supported toolchains so that we
can run "zmake testall" without grabbing the Zephyr SDK.
Added a new config option to zmake, "prefer-zephyr-sdk", which when
set to true, will cause the Zephyr SDK to be used instead of the
specified toolchain, if installed.
BUG=b:175248887
TEST=zmake testall (both with and without zephyr sdk)
observe warning/info message in both cases for volteer
Change-Id: I15ef3716d9c1301acaa154fe9d3b54cf85f73b79
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2591608
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630161
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r-- | zephyr/projects/volteer/zmake.yaml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/zephyr/projects/volteer/zmake.yaml b/zephyr/projects/volteer/zmake.yaml index e7f5e37bd6..b1251c2d08 100644 --- a/zephyr/projects/volteer/zmake.yaml +++ b/zephyr/projects/volteer/zmake.yaml @@ -15,8 +15,13 @@ supported-zephyr-versions: # grows a configuration option to handle ecst. output-type: raw -# Note: the Zephyr SDK is not available by default in the chroot. -# Please follow +# Note: coreboot-sdk toolchain will build, but may have runtime +# issues. This is set to "coreboot-sdk" so the automated CQ builder +# can use it for build tests. +# +# For compiling for a real device, you need to use the Zephyr SDK +# toolchain, which is not available in the chroot (and thus, to the CQ +# builder). Please follow # https://docs.zephyrproject.org/latest/getting_started/installation_linux.html # for instructions on installing the SDK. # @@ -24,4 +29,5 @@ output-type: raw # arm-none-eabi-gcc toolchain seems to work fine. If you prefer this # toolchain, you can pass --toolchain=arm-none-eabi to zmake # configure, and that will work as well. -toolchain: zephyr +toolchain: coreboot-sdk +prefer-zephyr-sdk: true |