mirror of https://github.com/thesofproject/sof.git
Merge pull request #8 from xiulipan/master
scripts: xtensa-build: fix ROOT var alais for BXT/APL gcc
This commit is contained in:
commit
8a48cc4902
|
@ -95,7 +95,6 @@ do
|
||||||
then
|
then
|
||||||
PLATFORM="apollolake"
|
PLATFORM="apollolake"
|
||||||
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-bxt-elf"
|
|
||||||
|
|
||||||
# test APL compiler aliases and ignore set -e here
|
# test APL compiler aliases and ignore set -e here
|
||||||
type xtensa-bxt-elf-gcc > /dev/null 2>&1 && true
|
type xtensa-bxt-elf-gcc > /dev/null 2>&1 && true
|
||||||
|
@ -105,6 +104,8 @@ do
|
||||||
else
|
else
|
||||||
HOST="xtensa-apl-elf"
|
HOST="xtensa-apl-elf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ROOT="$pwd/../xtensa-root/$HOST"
|
||||||
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
|
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
|
||||||
fi
|
fi
|
||||||
if [ $j == "cnl" ]
|
if [ $j == "cnl" ]
|
||||||
|
|
Loading…
Reference in New Issue