imgtools/buildrom/tools/buildrom.pm
changeset 713 7b7f0409fc00
parent 712 df89378e9223
parent 706 5221386d044b
child 714 e5a58c351011
equal deleted inserted replaced
712:df89378e9223 713:7b7f0409fc00
    66 }
    66 }
    67 my $enforceFeatureManager = 0; # Flag to make Feature Manager mandatory if SYMBIAN_FEATURE_MANAGER macro is defined. 
    67 my $enforceFeatureManager = 0; # Flag to make Feature Manager mandatory if SYMBIAN_FEATURE_MANAGER macro is defined. 
    68 
    68 
    69 my $BuildromMajorVersion = 3 ;
    69 my $BuildromMajorVersion = 3 ;
    70 my $BuildromMinorVersion = 32;
    70 my $BuildromMinorVersion = 32;
    71 my $BuildromPatchVersion = 0;
    71 my $BuildromPatchVersion = 2;
    72 
    72 
    73 
    73 
    74 sub print_usage
    74 sub print_usage
    75 {
    75 {
    76 
    76 
  4867 		my $platName;
  4867 		my $platName;
  4868 		my $rootPlatName;
  4868 		my $rootPlatName;
  4869 		my $plat = "armv5";				
  4869 		my $plat = "armv5";				
  4870 		$plat = &get_abiv2mode() ? $plat."_abiv1" : $plat."_abiv2";		
  4870 		$plat = &get_abiv2mode() ? $plat."_abiv1" : $plat."_abiv2";		
  4871 
  4871 
  4872 		foreach my $plat(@platlist) 
  4872 		foreach my $plattmp(@platlist) 
  4873 		{
  4873 		{
  4874 			if(($aDllFile =~ /[\/\\]($plat)[\/\\]/i) or ($aDllFile =~ /[\/\\]($plat\.\w+)[\/\\]/i ))
  4874 			if(($aDllFile =~ /[\/\\]($plattmp)[\/\\]/i) or ($aDllFile =~ /[\/\\]($plattmp)\.\w+[\/\\]/i ))
  4875 			{
  4875 			{
  4876 				$platName = $1;
  4876 				$platName = uc $1;
  4877 				last;
  4877 				last;
  4878 			}
  4878 			}
  4879 		}		
  4879 		}		
  4880 		$rootPlatName =	&get_platcustomizes($platName) ? &get_platroot($platName) : $platName;
  4880 		$rootPlatName =	&get_platcustomizes($platName) ? &get_platroot($platName) : $platName;
  4881 		
  4881 		
  4882 		# Map files will be referred for all ARM platforms, 
  4882 		# Map files will be referred for all ARM platforms, 
  4883 		# and for BSF platforms which cutomizes ARM platforms.
  4883 		# and for BSF platforms which cutomizes ARM platforms.
  4884 		if($rootPlatName =~ /^armv5|$plat$/i){
  4884 		if($rootPlatName =~ /^(armv5|$plat)$/i){
  4885 			my $mapfile = "${aDllFile}.map";
  4885 			my $mapfile = "${aDllFile}.map";
  4886 			
  4886 			
  4887 			open MAPFILE, "$mapfile" or die "Can't open $mapfile\n";
  4887 			open MAPFILE, "$mapfile" or die "Can't open $mapfile\n";
  4888 			while(<MAPFILE>){
  4888 			while(<MAPFILE>){
  4889 			my $line = $_;
  4889 			my $line = $_;