xtensa-build-zephyr.py: make "unsupported OS" actually a warning

Running on a mac crashed with "undefined xtensa_tools_version_postfix",
that should not be fatal (there are other toolchains).

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2022-03-10 15:40:06 -08:00 committed by Liam Girdwood
parent e72a05fce0
commit df6b48c889
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ if platform.system() == "Windows":
elif platform.system() == "Linux":
xtensa_tools_version_postfix = "-linux"
else:
xtensa_tools_version_postfix = "-unsupportedOS"
warnings.warn(f"Your operating system: {platform.system()} is not supported")
platform_list = [