code: def copy_dependency_images(tile):
      
  
      env = Environment(tools=[])
  
      outputbase = os.path.join('build', 'output')
      depbase = os.path.join('build', 'deps')
      for dep in tile.dependencies:
          depdir = os.path.join(depbase, dep['unique_id'])
          outputdir = os.path.join(outputbase)
  
          deptile = IOTile(depdir)
  
          for image in deptile.find_products('firmware_image'):
              name = os.path.basename(image)
              input_path = os.path.join(depdir, name)
              output_path = os.path.join(outputdir, name)
              env.Command([output_path], [input_path], Copy("$TARGET", "$SOURCE"))
docs: Copy all documentation from dependencies into build/output/doc folder