ldflags += ['-L' + bytesdecode(libcPath), '-lc'] ldflags += ['-L' + bytesdecode(libgccPath), '-lgcc'] #---------------------------------------------------------------------- #--- Build the source files list #---------------------------------------------------------------------- cSourceList = [] cppSourceList = [] sSourceList = [] oilSourceList = [] #--- OIL file oilSourceList.append("conf.oil") #--- Kernel files cSourceList.append(projfile.ProjectFile("os/tpl_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_timeobj_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_action.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_error.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_interrupt_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_task_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_resource_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_event_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_alarm_kernel.c", trampoline_base_path)) #--- Add C files of the application cSourceList.append(projfile.ProjectFile("code.cpp")) cSourceList.append(projfile.ProjectFile("task.cpp"))
ldflags += ['-L' + libcPath, '-lc'] ldflags += ['-L' + libgccPath, '-lgcc'] #---------------------------------------------------------------------- #--- Build the source files list #---------------------------------------------------------------------- cSourceList = [] cppSourceList = [] sSourceList = [] oilSourceList = [] #--- OIL file oilSourceList.append("autosar_tp_s1.oil") #--- Kernel files cSourceList.append(projfile.ProjectFile("os/tpl_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_timeobj_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_action.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_error.c", trampoline_base_path)) cflags += ["-I", "../../../trampoline/autosar"] cppflags += ["-I", "../../../trampoline/autosar"] cSourceList.append(projfile.ProjectFile("autosar/tpl_as_action.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("autosar/tpl_as_timing_protec.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("autosar/tpl_as_protec_hook.c", trampoline_base_path)) cflags += ["-I", "../../../trampoline/control"] cSourceList.append(projfile.ProjectFile("control/tpl_control.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_interrupt_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_task_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_resource_kernel.c", trampoline_base_path))
ldflags += ['-L' + libgccPath, '-lgcc'] #---------------------------------------------------------------------- #--- Build the source files list #---------------------------------------------------------------------- cSourceList = [] cppSourceList = [] sSourceList = [] oilSourceList = [] #--- OIL file oilSourceList.append("lab1.oil") #--- Kernel files cSourceList.append( projfile.ProjectFile("os/tpl_os_kernel.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_timeobj_kernel.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_action.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_error.c", trampoline_base_path)) #--- Services files cSourceList.append( projfile.ProjectFile("os/tpl_os_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_interrupt_kernel.c", trampoline_base_path)) cSourceList.append(
ldflags += ['-L' + libgccPath, '-lgcc'] #---------------------------------------------------------------------- #--- Build the source files list #---------------------------------------------------------------------- cSourceList = [] cppSourceList = [] sSourceList = [] oilSourceList = [] #--- OIL file oilSourceList.append("lonely.oil") #--- Kernel files cSourceList.append( projfile.ProjectFile("os/tpl_os_kernel.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_timeobj_kernel.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_action.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_error.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_os_kernel.c", trampoline_base_path)) cSourceList.append(projfile.ProjectFile("os/tpl_os_os.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_interrupt_kernel.c", trampoline_base_path)) cSourceList.append( projfile.ProjectFile("os/tpl_os_task_kernel.c", trampoline_base_path)) cSourceList.append(