14 Jun
2018
14 Jun
'18
5:34 p.m.
BXT/APL compiler is the same but can be have either apl or bxt suffix.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- scripts/xtensa-build-all.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh index d873d7e..62b94b2 100755 --- a/scripts/xtensa-build-all.sh +++ b/scripts/xtensa-build-all.sh @@ -96,7 +96,12 @@ do PLATFORM="apollolake" XTENSA_CORE="X4H3I16w2D48w3a_2017_8" ROOT="$pwd/../xtensa-root/xtensa-bxt-elf" - HOST="xtensa-bxt-elf" + if [ -x xtensa-bxt-elf-gcc ] + then + HOST="xtensa-bxt-elf" + else + HOST="xtensa-apl-elf" + fi XTENSA_TOOLS_VERSION="RG-2017.8-linux" fi if [ $j == "cnl" ]
--
2.17.1