From 074ea8b93d225f39d738bb912cf91272ce9b98cb Mon Sep 17 00:00:00 2001 From: Pan Xiuli Date: Wed, 30 Oct 2019 12:40:31 +0800 Subject: [PATCH] scripts: add build for JSL Add build scripts for JSL with gcc and xcc support. Signed-off-by: Pan Xiuli --- scripts/xtensa-build-all.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh index 8c5865eed..61ce87089 100755 --- a/scripts/xtensa-build-all.sh +++ b/scripts/xtensa-build-all.sh @@ -2,7 +2,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation. All rights reserved. -SUPPORTED_PLATFORMS=(byt cht bdw hsw apl cnl sue icl skl kbl imx8) +SUPPORTED_PLATFORMS=(byt cht bdw hsw apl skl kbl cnl sue icl jsl imx8) BUILD_ROM=no BUILD_DEBUG=no BUILD_FORCE_UP=no @@ -225,6 +225,16 @@ do XTENSA_TOOLS_VERSION="RF-2016.4-linux" HAVE_ROM='yes' fi + if [ $j == "jsl" ] + then + PLATFORM="jasperlake" + ARCH="xtensa-smp" + XTENSA_CORE="X6H3CNL_2017_8" + ROOT="$pwd/../xtensa-root/xtensa-cnl-elf" + HOST="xtensa-cnl-elf" + XTENSA_TOOLS_VERSION="RG-2017.8-linux" + HAVE_ROM='yes' + fi if [ $j == "imx8" ] then PLATFORM="imx8"