Skip to content

Commit fbb4053

Browse files
committed
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>
1 parent 0ca1c79 commit fbb4053

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/xtensa-build-all.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ fi
4949

5050

5151
# now build the firmware (depends on rimage)
52-
rm -fr src/arch/xtensa/*.ri
5352

5453
# fail on any errors
5554
set -e
@@ -177,6 +176,9 @@ do
177176
PATH=$pwd/../$HOST/bin:$OLDPATH
178177
fi
179178

179+
# only delete binary related to this build
180+
rm -fr src/arch/xtensa/sof-$j.*
181+
180182
./configure --with-arch=xtensa --with-platform=$PLATFORM --with-root-dir=$ROOT --host=$HOST \
181183
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP --with-dsp-core=$XTENSA_CORE
182184

src/arch/xtensa/Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,5 @@ vminstall-local:
235235
clean-local:
236236
rm -fr mod-*
237237
rm -fr *.bin
238-
rm -fr *.lst
239238
rm -fr *.map
240239
rm -fr *.dis

0 commit comments

Comments
 (0)