summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/toolchains.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/zmake/toolchains.py')
-rw-r--r--zephyr/zmake/zmake/toolchains.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/zmake/zmake/toolchains.py b/zephyr/zmake/zmake/toolchains.py
index 2e1458ce5b..a92baf2a3e 100644
--- a/zephyr/zmake/zmake/toolchains.py
+++ b/zephyr/zmake/zmake/toolchains.py
@@ -1,6 +1,7 @@
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+
"""Definitions of toolchain variables."""
import os
@@ -55,7 +56,7 @@ class CorebootSdkToolchain(GenericToolchain):
"""
path = pathlib.Path(
os.environ.get("COREBOOT_SDK_ROOT", "/opt/coreboot-sdk")
- )
+ ).resolve()
if path.is_dir():
return path
return None