4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-07 18:14:33 +08:00
2021-12-30 01:27:25 +08:00

15 lines
278 B
Python

from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
CPPPATH = [cwd]
group = []
src += Glob('*.c')
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
group = DefineGroup('compiler-libc', src, depend = [], CPPPATH = CPPPATH)
Return('group')