File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 $@
Original file line number Diff line number Diff line change 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 $@
Original file line number Diff line number Diff line change 4949
5050
5151# now build the firmware (depends on rimage)
52- rm -fr src/arch/xtensa/* .ri
5352
5453# fail on any errors
5554set -e
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
Original file line number Diff line number Diff line change @@ -235,6 +235,5 @@ vminstall-local:
235235clean-local :
236236 rm -fr mod-*
237237 rm -fr * .bin
238- rm -fr * .lst
239238 rm -fr * .map
240239 rm -fr * .dis
You can’t perform that action at this time.
0 commit comments