SConscript 351 B

1234567891011121314151617
  1. Import('RTT_ROOT')
  2. from building import *
  3. import os
  4. objs = []
  5. if GetDepend('PKG_USING_LVGL'):
  6. cwd = GetCurrentDir()
  7. list = os.listdir(cwd)
  8. for d in list:
  9. path = os.path.join(cwd, d)
  10. if os.path.isfile(os.path.join(path, 'SConscript')):
  11. objs = objs + SConscript(os.path.join(d, 'SConscript'))
  12. Return('objs')