Kaydet (Commit) 129852ce authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Don't deliver build.lst to solver and don't look for it there

üst 31cd8304
...@@ -479,7 +479,6 @@ sub get_build_list_path { ...@@ -479,7 +479,6 @@ sub get_build_list_path {
}; };
}; };
$dead_parents{$module}++; $dead_parents{$module}++;
$build_list_paths{$module} = correct_path(retrieve_build_list($module)) if (!defined $build_list_paths{$module});
return $build_list_paths{$module}; return $build_list_paths{$module};
}; };
...@@ -2029,31 +2028,6 @@ sub get_tmp_dir { ...@@ -2029,31 +2028,6 @@ sub get_tmp_dir {
return $tmp_dir; return $tmp_dir;
}; };
sub retrieve_build_list {
my $module = shift;
my $old_fh = select(STDOUT);
# Try to get global depencies from solver's build.lst if such exists
my $solver_inc_dir = "$ENV{SOLARVER}/$ENV{OUTPATH}";
$solver_inc_dir .= $ENV{PROEXT} if (defined $ENV{PROEXT});
$solver_inc_dir .= '/inc';
$solver_inc_dir .= "/$module";
$solver_inc_dir = correct_path($solver_inc_dir);
$dead_parents{$module}++;
print "Fetching dependencies for module $module from solver...";
my $build_list_candidate = "$solver_inc_dir/build.lst";
if (-e $build_list_candidate)
{
print " ok\n";
select($old_fh);
return $build_list_candidate;
};
print(" failed\n");
print_error("incomplete dependencies!\n");
return undef;
};
sub prepare_build_from_with_branches { sub prepare_build_from_with_branches {
my ($full_deps_hash, $reversed_full_deps_hash) = @_; my ($full_deps_hash, $reversed_full_deps_hash) = @_;
foreach my $prerequisite (keys %$full_deps_hash) { foreach my $prerequisite (keys %$full_deps_hash) {
......
...@@ -1003,13 +1003,6 @@ sub push_default_actions ...@@ -1003,13 +1003,6 @@ sub push_default_actions
push(@action_data, ['mkdir', "%_DEST%/res/img"]); push(@action_data, ['mkdir', "%_DEST%/res/img"]);
} }
# deliver build.lst to $dest/inc/$module
push(@action_data, ['copy', "build.lst %_DEST%/inc/$module/build.lst"]);
if ( $common_build ) {
# ... and to $common_dest/inc/$module
push(@action_data, ['copy', "build.lst %COMMON_DEST%/inc/$module/build.lst"]);
}
# need to copy libstaticmxp.dylib for Mac OS X # need to copy libstaticmxp.dylib for Mac OS X
if ( $^O eq 'darwin' ) if ( $^O eq 'darwin' )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment