imgtools/romtools/rombuild/romnibus.pl
changeset 38 620772202a07
parent 33 667e3f7728f7
child 39 fa9d7d89d3d6
--- a/imgtools/romtools/rombuild/romnibus.pl	Thu Nov 04 09:28:30 2010 +0000
+++ b/imgtools/romtools/rombuild/romnibus.pl	Mon Nov 15 08:19:08 2010 +0000
@@ -650,7 +650,16 @@
 			elsif ($on_windows) {
 				$line =~ s|\/|\\|g;
 			}
+			elsif ($line =~ /(^bootbinary\s*=\s*${epocroot}epoc32)(\S+)$/) {
+				# unixify the bootbinary line
+				my $tail = $2;
+				$line =~ s|\\|\/|g;
+				$tail =~ s|\\|\/|g;
+				my $lc_tail = lc($tail);
+				$line =~ s|$tail|$lc_tail|;
+			}
 			elsif ($line =~ /^(\s*\S+\s*=\s*)(\S+)(\s*\S*)/) {
+				#unixify the lefthand sides of rom-mapping lines.
 				my $keyword_part = $1;
 				my $src = $2;
 				my $dest = $3;