diff -r 1248e8f6a72d -r db59fc762214 buildframework/helium/tools/compile/ec/sysdef2make.pl --- a/buildframework/helium/tools/compile/ec/sysdef2make.pl Tue Mar 16 17:16:51 2010 +0000 +++ b/buildframework/helium/tools/compile/ec/sysdef2make.pl Thu Mar 18 15:06:42 2010 +0000 @@ -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)"; } @@ -636,12 +641,12 @@ print(MAKEFILE "\@echo === \$(CONFIGURATION) == \$\*\n"); print(MAKEFILE "\t\@echo -- \$\(1\) \n"); print(MAKEFILE "\t-\@perl -e \"print '++ Started at '.localtime().\\\"\\n\\\"\"\n"); -print(MAKEFILE "\t-\@perl -e \"use Time::HiRes; print '+++ HiRes Start '.Time::HiRes::time().\\\"\\n\\\";\"\n"); +print(MAKEFILE "\t-\@python -c \"import time; print '+++ HiRes Start ',time.time();\"\n"); print(MAKEFILE "endef\n\n"); print(MAKEFILE "define ENDTASK\n"); -print(MAKEFILE "\t\-\@perl -e \"use Time::HiRes; print '+++ HiRes End '.Time::HiRes::time().\\\"\\n\\\";\"\n"); +print(MAKEFILE "\t\-\@python -c \"import time; print '+++ HiRes End ',time.time();\"\n"); print(MAKEFILE "\t-\@perl -e \"print '++ Finished at '.localtime().\\\"\\n\\\"\"\n"); print(MAKEFILE "endef\n\n");