mirror of https://github.com/thesofproject/sof.git
scripts: add smp builds to xtensa-build-all.sh
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
parent
28d790be88
commit
b5af84deaa
|
@ -83,6 +83,7 @@ do
|
||||||
if [ $j == "byt" ]
|
if [ $j == "byt" ]
|
||||||
then
|
then
|
||||||
PLATFORM="baytrail"
|
PLATFORM="baytrail"
|
||||||
|
ARCH="xtensa"
|
||||||
XTENSA_CORE="Intel_HiFiEP"
|
XTENSA_CORE="Intel_HiFiEP"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-byt-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-byt-elf"
|
||||||
HOST="xtensa-byt-elf"
|
HOST="xtensa-byt-elf"
|
||||||
|
@ -91,6 +92,7 @@ do
|
||||||
if [ $j == "cht" ]
|
if [ $j == "cht" ]
|
||||||
then
|
then
|
||||||
PLATFORM="cherrytrail"
|
PLATFORM="cherrytrail"
|
||||||
|
ARCH="xtensa"
|
||||||
XTENSA_CORE="CHT_audio_hifiep"
|
XTENSA_CORE="CHT_audio_hifiep"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-byt-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-byt-elf"
|
||||||
HOST="xtensa-byt-elf"
|
HOST="xtensa-byt-elf"
|
||||||
|
@ -99,18 +101,21 @@ do
|
||||||
if [ $j == "bdw" ]
|
if [ $j == "bdw" ]
|
||||||
then
|
then
|
||||||
PLATFORM="broadwell"
|
PLATFORM="broadwell"
|
||||||
|
ARCH="xtensa"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-hsw-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-hsw-elf"
|
||||||
HOST="xtensa-hsw-elf"
|
HOST="xtensa-hsw-elf"
|
||||||
fi
|
fi
|
||||||
if [ $j == "hsw" ]
|
if [ $j == "hsw" ]
|
||||||
then
|
then
|
||||||
PLATFORM="haswell"
|
PLATFORM="haswell"
|
||||||
|
ARCH="xtensa"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-hsw-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-hsw-elf"
|
||||||
HOST="xtensa-hsw-elf"
|
HOST="xtensa-hsw-elf"
|
||||||
fi
|
fi
|
||||||
if [ $j == "apl" ]
|
if [ $j == "apl" ]
|
||||||
then
|
then
|
||||||
PLATFORM="apollolake"
|
PLATFORM="apollolake"
|
||||||
|
ARCH="xtensa-smp"
|
||||||
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
||||||
|
|
||||||
# test APL compiler aliases and ignore set -e here
|
# test APL compiler aliases and ignore set -e here
|
||||||
|
@ -128,6 +133,7 @@ do
|
||||||
if [ $j == "skl" ]
|
if [ $j == "skl" ]
|
||||||
then
|
then
|
||||||
PLATFORM="skylake"
|
PLATFORM="skylake"
|
||||||
|
ARCH="xtensa"
|
||||||
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
||||||
|
|
||||||
# test APL compiler aliases and ignore set -e here
|
# test APL compiler aliases and ignore set -e here
|
||||||
|
@ -145,6 +151,7 @@ do
|
||||||
if [ $j == "kbl" ]
|
if [ $j == "kbl" ]
|
||||||
then
|
then
|
||||||
PLATFORM="kabylake"
|
PLATFORM="kabylake"
|
||||||
|
ARCH="xtensa"
|
||||||
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
XTENSA_CORE="X4H3I16w2D48w3a_2017_8"
|
||||||
|
|
||||||
# test APL compiler aliases and ignore set -e here
|
# test APL compiler aliases and ignore set -e here
|
||||||
|
@ -162,6 +169,7 @@ do
|
||||||
if [ $j == "cnl" ]
|
if [ $j == "cnl" ]
|
||||||
then
|
then
|
||||||
PLATFORM="cannonlake"
|
PLATFORM="cannonlake"
|
||||||
|
ARCH="xtensa-smp"
|
||||||
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
||||||
HOST="xtensa-cnl-elf"
|
HOST="xtensa-cnl-elf"
|
||||||
|
@ -170,6 +178,7 @@ do
|
||||||
if [ $j == "sue" ]
|
if [ $j == "sue" ]
|
||||||
then
|
then
|
||||||
PLATFORM="suecreek"
|
PLATFORM="suecreek"
|
||||||
|
ARCH="xtensa"
|
||||||
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
||||||
HOST="xtensa-cnl-elf"
|
HOST="xtensa-cnl-elf"
|
||||||
|
@ -178,6 +187,7 @@ do
|
||||||
if [ $j == "icl" ]
|
if [ $j == "icl" ]
|
||||||
then
|
then
|
||||||
PLATFORM="icelake"
|
PLATFORM="icelake"
|
||||||
|
ARCH="xtensa-smp"
|
||||||
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
XTENSA_CORE="X6H3CNL_2016_4_linux"
|
||||||
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
ROOT="$pwd/../xtensa-root/xtensa-cnl-elf"
|
||||||
HOST="xtensa-cnl-elf"
|
HOST="xtensa-cnl-elf"
|
||||||
|
@ -214,7 +224,7 @@ do
|
||||||
# only delete binary related to this build
|
# only delete binary related to this build
|
||||||
rm -fr src/arch/xtensa/sof-$j.*
|
rm -fr src/arch/xtensa/sof-$j.*
|
||||||
|
|
||||||
./configure --with-arch=xtensa --with-platform=$PLATFORM \
|
./configure --with-arch=$ARCH --with-platform=$PLATFORM \
|
||||||
--with-root-dir=$ROOT --host=$HOST --enable-debug=$BUILD_DEBUG \
|
--with-root-dir=$ROOT --host=$HOST --enable-debug=$BUILD_DEBUG \
|
||||||
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP \
|
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP \
|
||||||
--with-dsp-core=$XTENSA_CORE
|
--with-dsp-core=$XTENSA_CORE
|
||||||
|
|
Loading…
Reference in New Issue