You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
351 B
13 lines
351 B
10 months ago
|
from building import *
|
||
|
Import('rtconfig')
|
||
|
|
||
|
src = Glob('*.c')
|
||
|
group = []
|
||
|
|
||
|
if rtconfig.PLATFORM in ['armcc', 'armclang']:
|
||
|
CPPDEFINES = ['RT_USING_ARMLIBC', 'RT_USING_LIBC', '__STDC_LIMIT_MACROS']
|
||
|
AddDepend(['RT_USING_ARMLIBC', 'RT_USING_LIBC'])
|
||
|
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
||
|
|
||
|
Return('group')
|