smart-green-house/rtt-uart-nb/rt-thread/libcpu/mips/SConscript

20 lines
388 B
Python
Raw Normal View History

2023-10-28 18:00:47 +08:00
# RT-Thread building script for bridge
import os
from building import *
Import('rtconfig')
cwd = GetCurrentDir()
group = []
list = os.listdir(cwd)
# add common code files
group = group + SConscript(os.path.join('common', 'SConscript'))
# cpu porting code files
if rtconfig.CPU != 'common':
group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript'))
Return('group')