diff -r 6a2083f7eeb8 -r 2a78c4ff2eab tools/baserom --- 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 = ) { print TSHELL_NEW "$line"; @@ -221,7 +226,6 @@ open IBYCPP, "$cmd |" or die "Can't run '$cmd': $!\n"; while (my $line = ) { chomp $line; - #print "TOMSCI: $line\n"; if ($line =~ m/^BASEROMHASHINCLUDE\s+[<"](.*)[>"]/ ) { my $iby = $1; if (!$ibysProcessed{lc($iby)}) {