4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 01:13:31 +08:00

13 lines
351 B
Python
Raw Normal View History

from building import *
2017-10-13 12:44:54 +08:00
Import('rtconfig')
src = Glob('*.c')
2017-10-13 12:44:54 +08:00
group = []
if rtconfig.PLATFORM in ['armcc', 'armclang']:
CPPDEFINES = ['RT_USING_ARMLIBC', 'RT_USING_LIBC', '__STDC_LIMIT_MACROS']
AddDepend(['RT_USING_ARMLIBC', 'RT_USING_LIBC'])
2021-12-28 23:25:16 -05:00
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
Return('group')