rt-thread-official/components/libc/compilers/armlibc/SConscript

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-29 12:25:16 +08:00
group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
Return('group')