subdirs = ['libfoo_subrepo', 'barapp_subrepo', 'test']
env = Environment()
for subdir in subdirs:
    SConscript(os.path.join(subdir, 'SConscript'), exports=['env'])
Real Hierarchical Builds with SCons?