コード例 #1
0
    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"))
コード例 #2
0
ファイル: build.py プロジェクト: LMG/enforcer
    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))
コード例 #3
0
ファイル: build.py プロジェクト: m-tartari/real_time_systems
        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(
コード例 #4
0
        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(