mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-03 03:34:34 +08:00
6b0671b336
1.RT_TIMER_TICK_PER_SECOND替换为RT_TICK_PER_SECOND 2.nxp lpc、imx、mcx系列bsp修复 3.lpc824支持gcc 4.lpc824、lpc1114 bsp默认使用nano版本 5.nxp scons --dist问题修复 6.rt-spark lvgl latest 编译修复
23 lines
515 B
Python
23 lines
515 B
Python
import rtconfig
|
|
from building import *
|
|
import os
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
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)
|
|
|
|
list = os.listdir(cwd)
|
|
for item in list:
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
group = group + SConscript(os.path.join(item, 'SConscript'))
|
|
|
|
Return('group')
|