diff -r 7b7f0409fc00 -r e5a58c351011 imgtools/buildrom/tools/buildrom.pm --- a/imgtools/buildrom/tools/buildrom.pm Tue Nov 30 14:05:41 2010 +0800 +++ b/imgtools/buildrom/tools/buildrom.pm Tue Nov 30 17:14:57 2010 +0800 @@ -67,8 +67,8 @@ my $enforceFeatureManager = 0; # Flag to make Feature Manager mandatory if SYMBIAN_FEATURE_MANAGER macro is defined. my $BuildromMajorVersion = 3 ; -my $BuildromMinorVersion = 32; -my $BuildromPatchVersion = 2; +my $BuildromMinorVersion = 33; +my $BuildromPatchVersion = 0; sub print_usage @@ -134,6 +134,7 @@ -geninc -- generate INC file -gendep -- generate dependence graph for rom image -nosymbols -- disable creation of symbol file + -bsymbols -- create symbol file in bsym format -noimage -- disable creation of ROM/ROFS/DataDrive Image -j -- do the main job with threads -cache -- allow the ROFSBUILD to reuse/generate cached executable files @@ -296,6 +297,7 @@ my $geninc = ""; my $gendep = ""; my $nosymbols = ""; +my $bsymbols = ""; my $noimage = ""; my $customizedPlat = undef; my $opt_jobs= ""; @@ -1049,6 +1051,11 @@ $nosymbols=1; next; } + if ($arg =~ /^-bsymbols$/) + { + $bsymbols=1; + next; + } if ($arg =~ /^-geninc$/) { $geninc=1; @@ -4563,7 +4570,17 @@ if ($xip) { is_existinpath("rombuild", romutl::DIE_NOT_FOUND); - $rombuild .= " -symbols" unless($nosymbols) ; + unless($nosymbols) + { + if($bsymbols) + { + $rombuild .= " -bsymbols"; + } + else + { + $rombuild .= " -symbols"; + } + } run_rombuilder($rombuild.$compress, $obeyfile, $thisdir."ROMBUILD.LOG"); } elsif($opt_xiponly == 0) @@ -4589,7 +4606,14 @@ is_existinpath("rofsbuild", romutl::DIE_NOT_FOUND); if(!$nosymbols) { + if($bsymbols) + { + $rofsbuild .= " -bsymbols"; + } + else + { $rofsbuild .= " -symbols"; + } } run_rombuilder($rofsbuild.$compress, $obeyfile, $thisdir."ROFSBUILD.LOG"); }