mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 19:47:50 +08:00
Adding a clean_ac before we try to build each target. Missed this by mistake. :-(
This commit is contained in:
@@ -20,7 +20,7 @@ foreach my $example (sort keys%{$examples->{'aircraft'}})
|
|||||||
{
|
{
|
||||||
foreach my $target (sort keys %{$airframe_config->{'firmware'}->{$process}->{'target'}})
|
foreach my $target (sort keys %{$airframe_config->{'firmware'}->{$process}->{'target'}})
|
||||||
{
|
{
|
||||||
my $make_upload_options = "AIRCRAFT=$example $target.compile";
|
my $make_upload_options = "AIRCRAFT=$example clean_ac $target.compile";
|
||||||
my $upload_output = run_program(
|
my $upload_output = run_program(
|
||||||
"Attempting to build the firmware $target for the airframe $example.",
|
"Attempting to build the firmware $target for the airframe $example.",
|
||||||
$ENV{'PAPARAZZI_SRC'},
|
$ENV{'PAPARAZZI_SRC'},
|
||||||
|
|||||||
Reference in New Issue
Block a user