Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/xtensa-build-zephyr.py: Correct XTENSA_SYSTEM path
When XTENSA_TOOLS_ROOT is set in the environment (which is a standard way for the user to specify the SDK installation directory), this script was setting the XTENSA_SYSTEM variable (the location of the registry of cores in a specific toolchain) to: $XTENSA_TOOLS_ROOT/install/builds/<toolchain_ver>/ But that seems to be incorrect, and causes the compiler to fail with a fairly reasonable runtime error that it can't find the requested core. (And THAT then causes the initial Zephyr cmake compiler check to fail in weird ways, as it tries to run "xt-clang" with no arguments and eats the output, reporting that you have no compiler installed). The correct $XTENSA_SYSTEM path that works is: $XTENSA_TOOLS_ROOT/install/tools/<toolchain_ver>/XtensaTools/config I'm guessing most builds run the tools from standard locations and don't set XTENSA_TOOLS_ROOT? Signed-off-by: Andy Ross <[email protected]>
- Loading branch information