[Sound-open-firmware] [PATCH 2/2] scripts: xtensa-build-all.sh: Support BXT/APL compiler alias

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Jun 14 17:34:42 CEST 2018


BXT/APL compiler is the same but can be have either apl or bxt suffix.

Signed-off-by: Liam Girdwood <liam.r.girdwood at 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



More information about the Sound-open-firmware mailing list