mirror of https://github.com/thesofproject/sof.git
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:
parent
0ca1c79d06
commit
fbb4053af0
|
@ -49,7 +49,6 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# now build the firmware (depends on rimage)
|
# now build the firmware (depends on rimage)
|
||||||
rm -fr src/arch/xtensa/*.ri
|
|
||||||
|
|
||||||
# fail on any errors
|
# fail on any errors
|
||||||
set -e
|
set -e
|
||||||
|
@ -177,6 +176,9 @@ do
|
||||||
PATH=$pwd/../$HOST/bin:$OLDPATH
|
PATH=$pwd/../$HOST/bin:$OLDPATH
|
||||||
fi
|
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 \
|
./configure --with-arch=xtensa --with-platform=$PLATFORM --with-root-dir=$ROOT --host=$HOST \
|
||||||
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP --with-dsp-core=$XTENSA_CORE
|
CC=$XCC OBJCOPY=$XTOBJCOPY OBJDUMP=$XTOBJDUMP --with-dsp-core=$XTENSA_CORE
|
||||||
|
|
||||||
|
|
|
@ -235,6 +235,5 @@ vminstall-local:
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -fr mod-*
|
rm -fr mod-*
|
||||||
rm -fr *.bin
|
rm -fr *.bin
|
||||||
rm -fr *.lst
|
|
||||||
rm -fr *.map
|
rm -fr *.map
|
||||||
rm -fr *.dis
|
rm -fr *.dis
|
||||||
|
|
Loading…
Reference in New Issue