summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/zmake.py
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-01-25 10:15:51 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-26 11:07:59 +0000
commit1fff129e5ddfe20c2c1513835e06c4e4d8f57608 (patch)
tree8af7967ba45e5cb92c9e61d1b2a9537e0e249fb4 /zephyr/zmake/zmake/zmake.py
parent7d268015237aa85dc75696ee037c7c871ee80915 (diff)
downloadchrome-ec-1fff129e5ddfe20c2c1513835e06c4e4d8f57608.tar.gz
zmake: remove prefer-zephyr-sdk from project config
No projects set this anymore. BUG=b:178363068 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Ib28017048695a5dbabaead83de49c85363fde665 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2647537 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Commit-Queue: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'zephyr/zmake/zmake/zmake.py')
-rw-r--r--zephyr/zmake/zmake/zmake.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/zephyr/zmake/zmake/zmake.py b/zephyr/zmake/zmake/zmake.py
index 5a2e0d0105..2a9587ffe5 100644
--- a/zephyr/zmake/zmake/zmake.py
+++ b/zephyr/zmake/zmake/zmake.py
@@ -94,21 +94,6 @@ class Zmake:
if not toolchain:
toolchain = project.config.toolchain
- if project.config.zephyr_sdk_is_preferred:
- try:
- toolchains.find_zephyr_sdk()
- except OSError:
- self.logger.warning(
- 'Unable to find the Zephyr SDK, which is the preferred '
- 'toolchain for this project (however, unavailable in '
- 'the chroot by default). Using %r instead, which '
- 'will probably compile but may not actually work at '
- 'all. See go/zephyr-care for more info.', toolchain)
- else:
- self.logger.info(
- 'Zephyr SDK is available. Using it instead of %r.',
- toolchain)
- toolchain = 'zephyr'
toolchain_config = toolchains.get_toolchain(toolchain, module_paths)
if not build_dir.exists():