--- a/tools/static_dependencies.pl Tue Nov 02 16:37:56 2010 +0000
+++ b/tools/static_dependencies.pl Tue Nov 02 17:03:32 2010 +0000
@@ -51,12 +51,12 @@
$cmd = "";
}
- if (lc $cmd eq "slim")
+ if ($cmd =~ /slim$/i)
{
$need_details{lc $romfile} = 1;
$cmd = "stem"; # slim implies stem
}
- if (lc $cmd eq "stem" && $hostfile !~ /stem_/)
+ if ($cmd =~ /stem$/i && $hostfile !~ /stem_/)
{
push @contents, "$romfile\t$hostfile"; # calculate dependencies for the original file
$hostfile =~ s/(\/|\\)([^\\\/]+)$/$1stem_$2/; # then use stem version as well