Skip to content

Commit 054a338

Browse files
authored
Merge pull request #545 from xiulipan/pr/dockersh
Scripts update
2 parents 33e4b99 + fbb4053 commit 054a338

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

scripts/docker-qemu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
# To build topology:
99
# ./scripts/docker-run.sh ./scripts/build_soft.sh
1010

11-
docker run -it --privileged -v `pwd`:/home/sof/sof.git \
11+
docker run -i --privileged -v `pwd`:/home/sof/sof.git \
1212
-v `pwd`/../soft.git:/home/sof/soft.git \
1313
--user `id -u` sofqemu $@

scripts/docker-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
# To build topology:
99
# ./scripts/docker-run.sh ./scripts/build_soft.sh
1010

11-
docker run -it -v `pwd`:/home/sof/work/sof.git \
11+
docker run -i -v `pwd`:/home/sof/work/sof.git \
1212
-v `pwd`/../soft.git:/home/sof/work/soft.git \
1313
--user `id -u` sof $@

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)