rt-thread-official/bsp/imxrt/imxrt1052-seeed-ArchMix/applications/SConscript

17 lines
337 B
Python
Raw Normal View History

2021-05-07 17:33:40 +08:00
import rtconfig
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
# add for startup script
if rtconfig.PLATFORM in ['gcc']:
2021-05-07 17:33:40 +08:00
CPPDEFINES = ['__START=entry']
else:
CPPDEFINES = []
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')