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

13 lines
286 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 = []
CPPDEFINES = ['RT_USING_ARM_LIBC']
2019-02-18 18:29:22 +08:00
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPDEFINES = CPPDEFINES)
Return('group')