Update bulk_marking.pl to handle the optional cmds, which was the key to making the "boot_ktrace_640" reduction work correctly
authorWilliam Roberts <williamr@symbian.org>
Tue, 02 Nov 2010 22:34:36 +0000
changeset 106 376d4db79ce0
parent 105 96c15d318508
child 107 183ce6d64e1d
Update bulk_marking.pl to handle the optional cmds, which was the key to making the "boot_ktrace_640" reduction work correctly
tools/bulk_marking.pl
--- a/tools/bulk_marking.pl	Tue Nov 02 17:03:32 2010 +0000
+++ b/tools/bulk_marking.pl	Tue Nov 02 22:34:36 2010 +0000
@@ -56,7 +56,7 @@
 		next;
 		}
 	
-	if ($cmd ne "")
+	if ($cmd ne "" && $cmd !~ /_/)
 		{
 		print $line;	# already marked, so leave it alone
 		next;
@@ -82,6 +82,7 @@
 
 	if ($mark_me)
 		{
+		print STDERR "Overriding $cmd for $romfile\n" if ($cmd ne "" && lc $cmd ne lc $newcmd);
 		$mark_count += 1;
 		print join(",", $romfile,$hostfile,$ibyfile,$package,$newcmd,$who,$marking), "\n";
 		}