tools/filter_obyfile.pl
changeset 19 b1cc137d8adb
parent 18 142e13d70737
child 22 76c5e260003e
--- a/tools/filter_obyfile.pl	Sun Oct 10 22:36:56 2010 +0100
+++ b/tools/filter_obyfile.pl	Mon Oct 11 14:54:55 2010 +0100
@@ -144,6 +144,14 @@
 		return;
 		}
 	
+	if (defined $must_have{$romfile})
+		{
+		# Problem! We won't be able to build this ROM
+		print STDERR "$romfile is being kept, but will fail to link because of deletion trail $trail\n";
+		# keep that file and see what happens anyway
+		return;
+		}
+
 	# We should keep the following information, but it's rather verbose
 	# printf STDERR "  %d - deleting %s (%s)\n", scalar @{$listref}, $romfile, $trail;