[stm32l475] 修复board文件夹sconscript脚本没有继续扫描子文件夹的问题
This commit is contained in:
parent
468063ae59
commit
e32626da30
|
@ -56,4 +56,10 @@ elif rtconfig.CROSS_TOOL == 'iar':
|
||||||
CPPDEFINES = ['STM32L475xx']
|
CPPDEFINES = ['STM32L475xx']
|
||||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
|
list = os.listdir(cwd)
|
||||||
|
for d in list:
|
||||||
|
path = os.path.join(cwd, d)
|
||||||
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
||||||
|
group = group + SConscript(os.path.join(d, 'SConscript'))
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue