paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5621] added possibility to have subsystems for just


From: antoine drouin
Subject: [paparazzi-commits] [5621] added possibility to have subsystems for just one specific target
Date: Mon, 23 Aug 2010 15:30:19 +0000

Revision: 5621
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5621
Author:   poine
Date:     2010-08-23 15:30:19 +0000 (Mon, 23 Aug 2010)
Log Message:
-----------
added possibility to have subsystems for just one specific target

Modified Paths:
--------------
    paparazzi3/trunk/sw/tools/gen_aircraft.ml

Modified: paparazzi3/trunk/sw/tools/gen_aircraft.ml
===================================================================
--- paparazzi3/trunk/sw/tools/gen_aircraft.ml   2010-08-23 15:25:32 UTC (rev 
5620)
+++ paparazzi3/trunk/sw/tools/gen_aircraft.ml   2010-08-23 15:30:19 UTC (rev 
5621)
@@ -231,7 +231,8 @@
                 (Xml.attrib d "name")
             end) in
          List.iter print_if_subsystem (Xml.children target);
-         List.iter (parse_subsystems makefile_ac tag) (Xml.children tag );
+         List.iter (parse_subsystems makefile_ac tag) (Xml.children target ); 
(** dump target  subsystems **)
+         List.iter (parse_subsystems makefile_ac tag) (Xml.children tag );    
(** dump firware subsystems **)
           fprintf makefile_ac "endif\n\n"; 
         with _ -> () end;
    | _ -> ()
@@ -240,7 +241,7 @@
 (** 
    Search and dump the firmware section 
  **)
-let dump_target_section = fun xml makefile_ac ->
+let dump_firmware_sections = fun xml makefile_ac ->
   List.iter (fun tag ->
     if ExtXml.tag_is tag "firmware" then begin
       begin try
@@ -264,8 +265,8 @@
 
   (** Search and dump makefile sections that don't have a "location" attribute 
set to "after" *)
   dump_makefile_section xml f airframe_file false;
-  (** Search and dump the target section *)
-  dump_target_section xml f;
+  (** Search and dump the firmware sections *)
+  dump_firmware_sections xml f;
   (** Search and dump makefile sections that have a "location" attribute set 
to "after" *)
   dump_makefile_section xml f airframe_file true;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]