mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
update buildpush script to comply to latest locations for prebuild artefacts
This commit is contained in:
parent
77cd652a0e
commit
adde48bc2d
1 changed files with 2 additions and 15 deletions
17
buildpush.sh
17
buildpush.sh
|
|
@ -13,8 +13,7 @@ CSR_CSV=
|
|||
USE_IDENTITY=0
|
||||
USE_NIGHTLY=
|
||||
IMAGE=hw-image
|
||||
SOC_SVD=../betrusted-soc/build/software/soc.svd
|
||||
OVERRIDE_SVD=
|
||||
SOC_SVD=precursors/soc.svd
|
||||
|
||||
POSITIONAL=()
|
||||
while [[ $# -gt 0 ]]
|
||||
|
|
@ -69,10 +68,6 @@ do
|
|||
IMAGE=av-test
|
||||
shift
|
||||
;;
|
||||
-p|--prebuild)
|
||||
OVERRIDE_SVD=precursors/soc.svd
|
||||
shift
|
||||
;;
|
||||
--image)
|
||||
IMAGE=$2
|
||||
shift
|
||||
|
|
@ -101,15 +96,7 @@ DESTDIR=code/precursors
|
|||
# full rebuild, and not just an incremental rebuild. :-/
|
||||
#touch services/log-server/src/main.rs # bump the build time in the log server
|
||||
|
||||
if [ -z "$OVERRIDE_SVD" ]
|
||||
then
|
||||
cargo $USE_NIGHTLY xtask $IMAGE $SOC_SVD
|
||||
# only copy if changed, othrewise it seems to trigger extra build effort...
|
||||
rsync -a --no-times --checksum $SOC_SVD svd2utra/examples/soc.svd
|
||||
rsync -a --no-times --checksum $SOC_SVD emulation/soc/renode.svd
|
||||
else
|
||||
cargo $USE_NIGHTLY xtask $IMAGE $OVERRIDE_SVD
|
||||
fi
|
||||
cargo $USE_NIGHTLY xtask $IMAGE $SOC_SVD
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in a new issue