4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 14:23:32 +08:00

14 lines
253 B
Python
Raw Normal View History

2018-05-31 13:01:38 +08:00
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
src += Glob('*_gcc.S')
group = DefineGroup('libcpu', src, depend = [''], CPPPATH = CPPPATH)
Return('group')