SConscript 666 B

12345678910111213141516171819202122232425262728
  1. import os
  2. from building import *
  3. objs = []
  4. cwd = GetCurrentDir()
  5. if GetDepend(['SOC_LPC54608']):
  6. objs = objs + SConscript('lpc54608/SConscript')
  7. if GetDepend(['SOC_LPC54114']):
  8. objs = objs + SConscript('lpc54114/SConscript')
  9. if GetDepend(['SOC_LPC5410']):
  10. objs = objs + SConscript('lpc5410x/SConscript')
  11. if GetDepend(['SOC_LPC824']):
  12. objs = objs + SConscript('lpc824/SConscript')
  13. if GetDepend(['SOC_LPC4088']):
  14. objs = objs + SConscript('lpc408x/SConscript')
  15. if GetDepend(['SOC_LPC178X']):
  16. objs = objs + SConscript('lpc178x/SConscript')
  17. if GetDepend(['SOC_LPC176']):
  18. objs = objs + SConscript('lpc176x/SConscript')
  19. Return('objs')