[Sound-open-firmware] [PATCH] scripts: xtensa-build: fix ROOT var alais for BXT/APL gcc

Pan, Xiuli xiuli.pan at linux.intel.com
Fri Jun 22 11:20:33 CEST 2018


On 6/22/2018 17:03, Xiuli Pan wrote:
> From: Pan Xiuli <xiuli.pan at linux.intel.com>
>
> Need to change ROOT as well as HOST target.
>
> Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
Hi Liam,

Create a PULL request on github, too.Please handle only one.

Thanks

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 9a0f3e4..abf4e87 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" ]



More information about the Sound-open-firmware mailing list