Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
1e8357ba
Commit
1e8357ba
authored
12 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
autobuild: create both old and new binary names
parent
22e9b95c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/scripts/build_binaries.sh
+8
-2
8 additions, 2 deletions
Tools/scripts/build_binaries.sh
with
8 additions
and
2 deletions
Tools/scripts/build_binaries.sh
+
8
−
2
View file @
1e8357ba
...
@@ -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 APM
R
over2
$tag
binaries"
echo
"Building APM
r
over2
$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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment