diff -r be27ed110b50 -r d8ac696cc51f buildframework/helium/tools/compile/ec/sysdef2make.pl --- a/buildframework/helium/tools/compile/ec/sysdef2make.pl Wed Oct 28 14:39:48 2009 +0000 +++ b/buildframework/helium/tools/compile/ec/sysdef2make.pl Wed Dec 23 19:29:07 2009 +0200 @@ -63,7 +63,7 @@ use XML::DOM; my @userFilters = (); -my @forceMakeCommands = ("abld.*\-(w|what|c|check)[^a-zA-Z0-9]"); +my @forceMakeCommands = ("abld.*\-(w|what|c|check|checkwhat|cw)[^a-zA-Z0-9]"); my $file = ""; my $pathPrefix = ""; @@ -203,8 +203,13 @@ $bldFile !~ m{^\Q$pathPrefix\E}i ) { $bldFile = $pathPrefix.$bldFile; } - # Set bldFile to the unitID - $bldFiles{$unitID} = $bldFile ; + if (-d $bldFile) { + # Set bldFile to the unitID + $bldFiles{$unitID} = $bldFile; + } else { + print(STDERR "ERROR: could not find $bldFile.\n"); + next; + } # Set the default priority if ( ! $priority ) { @@ -464,7 +469,7 @@ # It is more important to relay the -keepgoing to abld export # than try to protect the environment from user who uses abldOption wrong if ( @{$options{$executable.'Option'}} && - $command !~ m{abld.*\-(w|what|c|check)\s}i ) { + $command !~ m{abld.*\-(w|what|c|check|checkwhat|cw)\s}i ) { $option =" \$(".$executable."Option)"; }