scripts: only update platform that will be build

Keep other platform binary and lst files

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
Pan Xiuli 2018-11-06 15:38:27 +08:00
parent 0ca1c79d06
commit fbb4053af0
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,6 @@ fi
# now build the firmware (depends on rimage)
rm -fr src/arch/xtensa/*.ri
# fail on any errors
set -e
@ -177,6 +176,9 @@ do
PATH=$pwd/../$HOST/bin:$OLDPATH
fi
# only delete binary related to this build
rm -fr src/arch/xtensa/sof-$j.*
./configure --with-arch=xtensa --with-platform=$PLATFORM --with-root-dir=$ROOT --host=$HOST \
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP --with-dsp-core=$XTENSA_CORE

View File

@ -235,6 +235,5 @@ vminstall-local:
clean-local:
rm -fr mod-*
rm -fr *.bin
rm -fr *.lst
rm -fr *.map
rm -fr *.dis