rt-thread-official/bsp/lpc43xx/M0/SConscript

18 lines
415 B
Python
Raw Normal View History

2014-07-13 14:13:39 +08:00
from building import *
cwd = GetCurrentDir()
objs = []
for d in os.listdir(os.path.join(cwd, '..')):
if d not in ('M0', 'M4'):
path = os.path.join(cwd, '..', d, 'SConscript')
if os.path.isfile(path):
objs = objs + SConscript(path)
for d in os.listdir(cwd):
p = os.path.join(cwd, d, 'SConscript');
if os.path.isfile(p):
objs = objs + SConscript(p)
2014-07-13 14:13:39 +08:00
Return('objs')