mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-17 05:53:31 +08:00
13 lines
286 B
Python
13 lines
286 B
Python
from building import *
|
|
Import('rtconfig')
|
|
|
|
src = Glob('*.c')
|
|
group = []
|
|
|
|
CPPDEFINES = ['RT_USING_ARM_LIBC']
|
|
|
|
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
|
|
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPDEFINES = CPPDEFINES)
|
|
|
|
Return('group')
|