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

17 lines
337 B
Python
Raw Normal View History

2019-10-24 17:56:09 +08:00
import rtconfig
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
# add for startup script
if rtconfig.CROSS_TOOL == 'gcc':
CPPDEFINES = ['__START=entry']
else:
CPPDEFINES = []
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')