From fbb4053af0ff7486b3a5e8bd72ca59aa51f0263c Mon Sep 17 00:00:00 2001 From: Pan Xiuli Date: Tue, 6 Nov 2018 15:38:27 +0800 Subject: [PATCH] scripts: only update platform that will be build Keep other platform binary and lst files Signed-off-by: Pan Xiuli --- scripts/xtensa-build-all.sh | 4 +++- src/arch/xtensa/Makefile.am | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/xtensa-build-all.sh b/scripts/xtensa-build-all.sh index 7a359387b..8424b44f3 100755 --- a/scripts/xtensa-build-all.sh +++ b/scripts/xtensa-build-all.sh @@ -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 diff --git a/src/arch/xtensa/Makefile.am b/src/arch/xtensa/Makefile.am index f9f390822..5ef0e6253 100644 --- a/src/arch/xtensa/Makefile.am +++ b/src/arch/xtensa/Makefile.am @@ -235,6 +235,5 @@ vminstall-local: clean-local: rm -fr mod-* rm -fr *.bin - rm -fr *.lst rm -fr *.map rm -fr *.dis