Commit f27c53ce authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add phony section in Makefile.taste

parent e69bb3a5
......@@ -174,6 +174,7 @@ package body TASTE.Concurrency_View is
Threads : Unbounded_String;
All_Thread_Names : Tag; -- Complete list of threads
All_Target_Names : Tag; -- List of all targets used (AADL packages)
All_Block_Names : Tag; -- Complete list of blocks
begin
Put_Debug ("Concurrency View templates expected in " & Prefix);
Start_Search (Search => ST,
......@@ -195,6 +196,7 @@ package body TASTE.Concurrency_View is
Threads := US ("");
Clear (All_Thread_Names);
Clear (All_Target_Names);
Clear (All_Block_Names);
Get_Next_Entry (ST, Current);
......@@ -339,7 +341,7 @@ package body TASTE.Concurrency_View is
else "");
begin
Block_Names := Block_Names & Block_Name;
All_Block_Names := All_Block_Names & Block_Name;
Block_Languages := Block_Languages & B.Language;
for PI_Assoc of Tmpl.Protected_Provided loop
......@@ -622,6 +624,7 @@ package body TASTE.Concurrency_View is
& Assoc ("Part_Dest_Name", Part_Dest_Name)
& Assoc ("Threads", Threads)
& Assoc ("Thread_Names", All_Thread_Names)
& Assoc ("Block_Names", All_Block_Names)
& Assoc ("Target_Packages", All_Target_Names);
Create_Path (CV_Out_Dir);
Create (File => Output_File,
......
@@-- The following tags are available in this template:
@@--
@@-- @_Nodes_@ : Code generated for the nodes
@@-- @_Nodes_@ : Code generated for the nodes (from node.tmplt)
@@-- @_Node_Names_@ : Vector Tag of node names
@@-- @_Node_CPU_@ : |_ Corresponding CPU name (eg x86_linux)
@@-- @_Node_CPU_Classifier_@ : |_ CPU Classifier (ocarina...::x86_linux)
@@-- @_Partition_Names_@ : Vector Tag of partition names
@@-- @_Partition_Node_@ : |_ Corresponding node name
@@-- @_Partition_CPU_@ : |_ Corresponding CPU name
@@-- @_Threads_@ : Code generated for the threads
@@-- @_Threads_@ : Code generated for the threads (from thread.tmplt)
@@-- @_Thread_Names_@ : List of all threads in the complete system
@@-- @_Block_Names_@ : List of all blocks in the complete system
@@-- @_Target_Packages_@ : List of all target package names in the complete system
@@-- And all the system configuration obtained from the command line:
@@-- Interface_View, Deployment_View, Data_View, Binary_Path, Check_Data_View,
......@@ -66,3 +67,9 @@ clean:
make -C @_Node_Names_@ -f Makefile.@_Node_Names_@ clean
rm -rf *_adainit deploymentview_final
@@END_TABLE@@
@@INLINE(.PHONY: )( )()@@
@@TABLE@@
@_LOWER:Block_Names_@
@@END_TABLE@@
@@END_INLINE@@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment