mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-27 16:40:25 +08:00
fc3c29df70
# Conflicts: # bsp/ra6m4-cpk/.settings/standalone.prefs # bsp/ra6m4-cpk/SConscript # bsp/renesas/ra6m4-cpk/ra_gen/vector_data.h # bsp/renesas/ra6m4-iot/buildinfo.gpdsc # bsp/renesas/ra6m4-iot/project.uvoptx # bsp/renesas/ra6m4-iot/project.uvprojx # bsp/renesas/ra6m4-iot/ra/fsp/inc/api/r_external_irq_api.h # bsp/renesas/ra6m4-iot/ra_gen/SConscript
20 lines
440 B
Python
20 lines
440 B
Python
Import('RTT_ROOT')
|
|
Import('rtconfig')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
group = []
|
|
CPPPATH = []
|
|
|
|
if rtconfig.CROSS_TOOL == 'iar':
|
|
print("\nThe current project does not support iar build\n")
|
|
Return('group')
|
|
|
|
elif rtconfig.CROSS_TOOL == 'gcc':
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd+'/fsp_cfg', cwd + '/fsp_cfg/bsp']
|
|
|
|
group = group + DefineGroup('ra_cfg', src, depend = [''], CPPPATH = CPPPATH)
|
|
Return('group')
|