2012-11-22 11:39:22 +08:00
|
|
|
from building import *
|
2017-10-13 12:44:54 +08:00
|
|
|
Import('rtconfig')
|
2012-11-22 11:39:22 +08:00
|
|
|
|
2021-10-28 14:48:51 +08:00
|
|
|
src = Glob('*.c')
|
2017-10-13 12:44:54 +08:00
|
|
|
group = []
|
2014-10-28 11:45:43 +08:00
|
|
|
|
2022-05-19 10:35:32 +08:00
|
|
|
CPPDEFINES = ['RT_USING_ARM_LIBC', 'RT_USING_LIBC']
|
2012-11-22 11:39:22 +08:00
|
|
|
|
2022-04-20 09:56:04 +08:00
|
|
|
if rtconfig.PLATFORM in ['armcc', 'armclang']:
|
2021-12-29 12:25:16 +08:00
|
|
|
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
2012-11-22 11:39:22 +08:00
|
|
|
|
|
|
|
Return('group')
|