Commit 50b301f9 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Exclude files from compilation when there are no ports

parent b75a6d44
......@@ -21,6 +21,12 @@
@@-- @_Thread_Dst_Name_@ : Vector tag : connection thread name (dest)
@@-- @_Thread_Src_Port_@ : Vector tag : connection port name (source)
@@-- @_Thread_Dst_Port_@ : Vector tag : connection port name (dest)
@@-- @_In_Port_Names_@ : Vector tag: input ports of the partition
@@-- @_In_Port_Thread_Name_@ : |_ corresponding thread inside the partition
@@-- @_In_Port_Type_Name_@ : |_ corresponding parameter type name (optional)
@@-- @_Out_Port_Names_@ : Vector tag: output ports of the partition
@@-- @_Out_Port_Thread_Name_@ : |_ corresponding thread inside the partition
@@-- @_Out_Port_Type_Name_@ : |_ corresponding parameter type name (optional)
-- Node name : @_Name_@
-- Execution platform : @_CPU_Platform_@
@@-- Not all systems use Ada so we must not always include Ada dataview folder
......@@ -107,6 +113,13 @@ project @_CAPITALIZE:Name_@_AIR is
"config.c",
"init.c",
"marshallers.c",
@@IF@@ @_In_Port_Names'Length_@ = 0 and @_Out_Port_Names'Length_@ = 0 and @_Thread_Src_Port'Length_@ = 0
"po_hi_gqueue.c",
"po_hi_transport.c",
"po_hi_marshallers.c",
"po_hi_semaphore.c",
"air_polling.c",
@@END_IF@@
"config_leon3_drvmgr.c",
"config_leon4_n2x.c",
"grspw_api.c",
......
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