--- a/tools/baserom Mon Sep 20 16:46:34 2010 +0100
+++ b/tools/baserom Wed Oct 13 12:41:05 2010 +0100
@@ -152,6 +152,11 @@
open TSHELL_NEW, ">$newObyName" or die "Can't write to $newObyName: $!\n";
print "Creating tshell_$obyName.oby\n";
+
+ if ($extraInclude) {
+ print TSHELL_NEW "#include \"$obyName/$extraInclude\"\n";
+ }
+
while (my $line = <TSHELL_OBY>) {
print TSHELL_NEW "$line";
@@ -221,7 +226,6 @@
open IBYCPP, "$cmd |" or die "Can't run '$cmd': $!\n";
while (my $line = <IBYCPP>) {
chomp $line;
- #print "TOMSCI: $line\n";
if ($line =~ m/^BASEROMHASHINCLUDE\s+[<"](.*)[>"]/ ) {
my $iby = $1;
if (!$ibysProcessed{lc($iby)}) {