Skip to content
Snippets Groups Projects
Commit 1e8357ba authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

autobuild: create both old and new binary names

parent 22e9b95c
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,8 @@ build_arduplane() { ...@@ -103,6 +103,8 @@ build_arduplane() {
skip_build $tag $ddir || { skip_build $tag $ddir || {
make px4-clean && make px4-clean &&
make px4 && make px4 &&
rsync ArduPlane.px4 px4fmu.px4 &&
copyit px4fmu.px4 $ddir $tag &&
copyit ArduPlane.px4 $ddir $tag copyit ArduPlane.px4 $ddir $tag
} }
} }
...@@ -134,6 +136,8 @@ build_arducopter() { ...@@ -134,6 +136,8 @@ build_arducopter() {
skip_build $tag $ddir && continue skip_build $tag $ddir && continue
make px4-clean || continue make px4-clean || continue
make px4-$f || continue make px4-$f || continue
rsync ArduCopter.px4 px4fmu.px4 &&
copyit px4fmu.px4 $ddir $tag &&
copyit ArduCopter.px4 $ddir $tag copyit ArduCopter.px4 $ddir $tag
done done
} }
...@@ -145,7 +149,7 @@ build_arducopter() { ...@@ -145,7 +149,7 @@ build_arducopter() {
build_rover() { build_rover() {
tag="$1" tag="$1"
checkout APMrover2 $tag || return checkout APMrover2 $tag || return
echo "Building APMRover2 $tag binaries" echo "Building APMrover2 $tag binaries"
pushd APMrover2 pushd APMrover2
for b in apm1 apm2 apm1-1280; do for b in apm1 apm2 apm1-1280; do
echo "Building APMrover2 $b binaries" echo "Building APMrover2 $b binaries"
...@@ -162,7 +166,9 @@ build_rover() { ...@@ -162,7 +166,9 @@ build_rover() {
skip_build $tag $ddir || { skip_build $tag $ddir || {
make px4-clean && make px4-clean &&
make px4 && make px4 &&
copyit APMRover2.px4 $binaries/Rover/$hdate/PX4 $tag rsync APMrover2.px4 px4fmu.px4 &&
copyit px4fmu.px4 $ddir $tag &&
copyit APMrover2.px4 $binaries/Rover/$hdate/PX4 $tag
} }
} }
popd popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment