rt-thread-official/bsp/lpc55sxx/lpc55s69_nxp_evk/applications/SConscript

20 lines
391 B
Python
Raw Normal View History

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