mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-14 19:49:34 +08:00
15 lines
299 B
Python
15 lines
299 B
Python
from building import *
|
|
Import('rtconfig')
|
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
cwd = GetCurrentDir()
|
|
group = []
|
|
CPPPATH = [cwd]
|
|
|
|
if rtconfig.PLATFORM == 'gcc':
|
|
group = DefineGroup('libc', src,
|
|
depend = ['RT_USING_MODULE', 'RT_USING_LIBDL'],
|
|
CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|