Merge fixes for bug 476, bug 1895, bug 2049, bug 2149, bug 2509, bug 2531 and bug 2539. RCL_3 PDK_3.0.1
authorPat Downey <patd@symbian.org>
Tue, 13 Jul 2010 14:40:10 +0100
branchRCL_3
changeset 64 15948b6bf933
parent 62 7416fe50a180 (diff)
parent 48 06f00a153f2a (current diff)
child 71 650155a80ef8
Merge fixes for bug 476, bug 1895, bug 2049, bug 2149, bug 2509, bug 2531 and bug 2539.
sbsv1_os/e32toolp/makmake/makmake.pl
toolsandutils/buildsystem/extension/base/bootstrap.flm
toolsandutils/buildsystem/extension/base/bootstrap.xml
--- a/sbsv1_os/e32toolp/e32util/e32tpver.pm	Wed Jun 09 13:01:46 2010 +0100
+++ b/sbsv1_os/e32toolp/e32util/e32tpver.pm	Tue Jul 13 14:40:10 2010 +0100
@@ -24,7 +24,7 @@
 
 
 sub E32tpver () {
-	my $Version=678; 
+	my $Version=680; 
 }
 
 1;
--- a/sbsv1_os/e32toolp/group/release.txt	Wed Jun 09 13:01:46 2010 +0100
+++ b/sbsv1_os/e32toolp/group/release.txt	Tue Jul 13 14:40:10 2010 +0100
@@ -1,4 +1,21 @@
+Version 0.01.680
+================
+(Made by Lorence Wang 05/17/2009)
+1) Marvin Shi
+	DEF145403  ABLD bug on GCCE static/import library location 
+2) Marvin Shi
+  DEF145339  abld -check and -what for selected targets is wrong
+
+Version 0.01.679
+================
+(Made by Zheng Shen 11/02/2009)
+1) Marvin Shi
+	PDEF144284  refine fix for Bug 151 -  bldmake is not in PDK2.0c
+2) Ross Qin
+  PDEF144387  Tools meta files should not be exported in the build phase 
+
 Version 0.01.678
+================
 (Made by Zheng Shen 8/02/2009)
 1) Brook Hong
 	DEF143588  Excess warnings from makedef.pl 
--- a/sbsv1_os/e32toolp/makmake/makmake.pl	Wed Jun 09 13:01:46 2010 +0100
+++ b/sbsv1_os/e32toolp/makmake/makmake.pl	Tue Jul 13 14:40:10 2010 +0100
@@ -21,7 +21,6 @@
 use FindBin;		# for FindBin::Bin
 use Getopt::Long;
 use Cwd;
-use strict;
 # modified start: makefile improvement 
 use File::stat;
 use Time::localtime;
@@ -1229,7 +1228,13 @@
 	}
 
 #	set up release path
-	$Path{Rel}="$E32env::Data{RelPath}".lc($Plat{Real})."\\";
+	if((&Plat() =~ /gcce/i) && ($TrgType{Basic} eq 'LIB'))
+	{
+		$Path{Rel}=$Path{StatLink};
+	}
+	else {
+		$Path{Rel}="$E32env::Data{RelPath}".lc($Plat{Real})."\\";
+	}
 	
 }
 
--- a/sbsv1_os/e32toolp/platform/cl_bpabi.pm	Wed Jun 09 13:01:46 2010 +0100
+++ b/sbsv1_os/e32toolp/platform/cl_bpabi.pm	Tue Jul 13 14:40:10 2010 +0100
@@ -1110,10 +1110,20 @@
 	&main::Output(" \\\n\$(EPOCSTATLINK$Bld)\\$StaticRTLib\.lib");
 
 	&main::Output(" \\\n\t",getConfigVariable('VIA_FILE_PREFIX'));
-	PrintList("\' \\\n\t\'\.\&Generic_Quote\(\"\\\$\(EPOCBSFSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList);
+	if($PlatName =~ /^gcce$/i) {
+		PrintList("\' \\\n\t\'\.\&Generic_Quote\(\"\\\$\(EPOCSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList);
+	}
+	else {
+		PrintList("\' \\\n\t\'\.\&Generic_Quote\(\"\\\$\(EPOCBSFSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList);
+	}
 	&main::Output(" \\\n\t",getConfigVariable('VIA_FILE_SUFFIX'));
 	
-	@depLibs = (@depLibs, DepLinkList("\&Generic_Quote\(\"\\\$\(EPOCBSFSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList));
+	if($PlatName =~ /^gcce$/i) {
+		@depLibs = (@depLibs, DepLinkList("\&Generic_Quote\(\"\\\$\(EPOCSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList));
+	}
+	else {
+		@depLibs = (@depLibs, DepLinkList("\&Generic_Quote\(\"\\\$\(EPOCBSFSTATLINK$Bld\)\\\\\$_\"\)", @StatLibList));
+	}
 	
 	
 	my @ImportLibList = ImportLibraryList(@LibList);
@@ -1706,9 +1716,14 @@
          elsif ($BasicTrgType=~/^LIB$/o) {
 			&main::Output(
 			"\t\$(AR) ",
-				" \$(ARCHIVER_CREATE_OPTION) ",
-				" \$(EPOCBSFSTATLINK$Bld)\\$Trg \\\n"
+				" \$(ARCHIVER_CREATE_OPTION) "
 			);
+			if($PlatName =~ /^gcce$/i) {
+				&main::Output(" \$(EPOCSTATLINK$Bld)\\$Trg \\\n");
+			}
+			else {
+				&main::Output(" \$(EPOCBSFSTATLINK$Bld)\\$Trg \\\n");
+			}
 		# Pass in the command file if the command file option is passed in
 		if($viaoption) {
                         #'@' is for GCCE whos version is not 3.4.3
--- a/sbsv1_os/e32toolp/platform/lockit_info.pm	Wed Jun 09 13:01:46 2010 +0100
+++ b/sbsv1_os/e32toolp/platform/lockit_info.pm	Tue Jul 13 14:40:10 2010 +0100
@@ -32,7 +32,6 @@
 	Close_InfoFile
 );
 
-use strict;
 use Pathutl;
 my $epocroot;
 my $epocPath;
@@ -87,25 +86,6 @@
 		copy("$RppFile", "$FilePath\\$ResrcFile.rpp");
 	}
 
-	# update bitmaps in epoc32\localisation if -l option and bitmaps specified
-	if ($CWDir && ($Bitmaps ne ""))
-	{
-		my $BmpRef;
-		$Bitmaps =~ s/ +|\t/ /g; # replace tabs and more spaces with single space
-		$Bitmaps =~s/^ //g; # remove leading space
-		$Bitmaps =~s/ $//g; # remove trailing space
-
-		my (@AifBitmaps) = split(/ /, $Bitmaps);
-		foreach $BmpRef (@AifBitmaps) {
-			$BmpRef =~ /^([^\\]+)(\\.*)$/;
-			my $CDepth = $1;
-			my $bmp = $2;
-			Copy_Files($bmp, $FilePath);
-			my $file_base= basename($bmp);
-			chmod (0666,"$FilePath\\$file_base");
-		}
-	}
-
 	if (defined $ENV{ABLD_TOOLSMOD_COMPATIBILITY_MODE} &&  ($ENV{ABLD_TOOLSMOD_COMPATIBILITY_MODE} eq 'alpha')) {
 		if (LineExists($ResrcFile.$lang, $RscTarget) == 0)
 		{
@@ -196,7 +176,7 @@
 sub Create_InfoFile ()
 	{
 	my ($CreateLockitPath, $CreateInfoFile, $Datadir) = @_;
-	if ( !-e "$CreateLockitPath") { mkpath($CreateLockitPath); }
+	if (($CreateLockitPath !~ /mbm$/i) && (!-e "$CreateLockitPath")) { mkpath($CreateLockitPath); }
 	if ( !-e "$epocPath\\group") { mkpath("$epocPath\\group"); }
 	if ( !-e "$epocPath\\group\\$CreateInfoFile.info") {	
 		open INFO,">$epocPath\\group\\$CreateInfoFile.info" or die "ERROR: Can not create file \"$CreateInfoFile\"\n"; 
@@ -325,14 +305,14 @@
 			$LockitPath .= "\\$BaseResrc.rpp";
 		}
 		else {
-			$LockitPath .= "\\$Bitmaps";
+			undef $LockitPath;
 		}
 	}
 
 	my %loggedFiles;
 	$loggedFiles{lc($_)} = 1 foreach keys (%Files);
 	
-	$Files{$LockitPath} = 1 if !($loggedFiles{lc($LockitPath)});
+	$Files{$LockitPath} = 1 if (defined $LockitPath) && (!($loggedFiles{lc($LockitPath)}));
 	$Files{$LockitInfoPath} = 1 if !($loggedFiles{lc($LockitInfoPath)});
 	
 	return %Files;