From 7cba6e3f47c197b5b486d7804633dc792b7198d9 Mon Sep 17 00:00:00 2001 From: Pan Xiuli Date: Fri, 22 Jun 2018 17:01:09 +0800 Subject: [PATCH] scripts: xtensa-build: fix ROOT var alais for BXT/APL gcc Need to change ROOT as well as HOST target. Signed-off-by: Pan Xiuli --- scripts/xtensa-build-all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh index 9a0f3e4dd..abf4e87bc 100755 --- a/scripts/xtensa-build-all.sh +++ b/scripts/xtensa-build-all.sh @@ -95,7 +95,6 @@ do then PLATFORM="apollolake" XTENSA_CORE="X4H3I16w2D48w3a_2017_8" - ROOT="$pwd/../xtensa-root/xtensa-bxt-elf" # test APL compiler aliases and ignore set -e here type xtensa-bxt-elf-gcc > /dev/null 2>&1 && true @@ -105,6 +104,8 @@ do else HOST="xtensa-apl-elf" fi + + ROOT="$pwd/../xtensa-root/$HOST" XTENSA_TOOLS_VERSION="RG-2017.8-linux" fi if [ $j == "cnl" ]