Commit ad155c9
committed
scripts/xtensa-build-zephyr.py: Allow for alternate toolchain versions
Currently the build scripts force a single "blessed" Cadence toolchain
for each platform, which prohibits the use of
upgraded/fixed/standardized tooling by downstreams. Let
XTENSA_TOOLS_VERSION be set in the environment and use the
PlatformConfig value as a fallback if unspecified.
Also log the resulting choice (and also XTENSA_TOOLS_ROOT, which is
likewise external input to the script) for build tracking, so any
deployment downstreams can reconstruct what was done.
Signed-off-by: Andy Ross <andyross@google.com>1 parent 3e60e08 commit ad155c9
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
790 | 793 | | |
| 794 | + | |
791 | 795 | | |
792 | 796 | | |
793 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
794 | 804 | | |
795 | 805 | | |
796 | 806 | | |
| |||
811 | 821 | | |
812 | 822 | | |
813 | 823 | | |
814 | | - | |
| 824 | + | |
815 | 825 | | |
816 | 826 | | |
817 | 827 | | |
| |||
0 commit comments