rt-thread/bsp/nxp/imx/imxrt/libraries/templates/imxrt1064xxx/applications/SConscript

17 lines
332 B
Python
Raw Normal View History

2019-06-12 15:01:12 +08:00
import rtconfig
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
2019-06-12 15:01:12 +08:00
CPPPATH = [cwd]
# add for startup script
if rtconfig.PLATFORM in ['gcc']:
CPPDEFINES = ['__START=entry']
else:
CPPDEFINES = []
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')