rt-thread/bsp/nrf5x/nrf52832/applications/SConscript

19 lines
417 B
Python
Raw Normal View History

2020-04-14 22:17:27 +08:00
from building import *
import os
2020-04-14 22:17:27 +08:00
cwd = GetCurrentDir()
src = ['main.c']
CPPPATH = [cwd]
if GetDepend(['BSP_USING_ON_CHIP_FS']):
src += ['mnt.c']
2020-04-14 22:17:27 +08:00
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
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'))
2023-01-09 10:14:23 +08:00
Return('group')