4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-01 16:50:25 +08:00

17 lines
282 B
Python
Raw Normal View History

2020-01-10 10:38:21 +08:00
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
asm_src = Split('''
context_gcc.S
vector_gcc.S
entry_point.S
cpu_gcc.S
2020-03-17 13:45:13 +08:00
cache.S
2020-01-10 10:38:21 +08:00
''')
CPPPATH = [cwd]
group = DefineGroup('cpu', src + asm_src, depend = [''], CPPPATH = CPPPATH)
Return('group')