def reduce_libs_to_bare_minimum(libs)
    rv = libs.clone
    lib_entries = RakeOE::PrjFileCache.get_lib_entries(libs)
    lib_entries.each_pair do |lib, entry|
      rv.delete(lib) unless RakeOE::PrjFileCache.project_entry_buildable?(entry, @target)
    end
    rv
  end
def reduce_libs_to_bare_minimum(libs)
    rv = libs.clone
    lib_entries = RakeOE::PrjFileCache.get_lib_entries(libs)
    lib_entries.each_pair do |lib, entry|
      rv.delete(lib) unless RakeOE::PrjFileCache.project_entry_buildable?(entry, @target)
    end
    rv
  end
Reduces the given list of libraries to bare minimum, i.e.
 the minimum needed for actual platform

 @libs   list of libraries

 @return reduced list of libraries