# HG changeset patch # User William Roberts # Date 1286555130 -3600 # Node ID df09f0d786ec4c6b1de4493a796f1cafd65317e1 # Parent a008c700a637d928d532dde071c65504d5570112 More buildrom.pm tweaks - fix the stupid "REM handled x" on every input line - Create extra copies of the tmp files, so that iMaker can't clean them all away - Add "REM expanded" to the original processing of ECOM_PLUGIN lines, to help recover the originals again diff -r a008c700a637 -r df09f0d786ec syborg_stem/buildrom.pm --- a/syborg_stem/buildrom.pm Thu Oct 07 21:53:03 2010 +0100 +++ b/syborg_stem/buildrom.pm Fri Oct 08 17:25:30 2010 +0100 @@ -1735,6 +1735,9 @@ print DUMPFILE $line; } close DUMPFILE; + open SLY_COPY, ">xxx_$dumpfile"; + print SLY_COPY @obydata; + close SLY_COPY; } sub track_source @@ -2070,7 +2073,7 @@ # push this line into the currently selected partition my $partition=@currentpartition[-1]; push @$partition, $modifiedLine; - $line="REM handled $line"; + next; } elsif ($line =~ /^\s*SPI_POSITION/i) { @@ -2217,6 +2220,7 @@ $errors++ if ($strict); } + push @newobydata, "REM expanded $line"; if ($spidatahide) { push @newobydata, "hide=$fileRomDir\\$pluginFileName\n";