equal
deleted
inserted
replaced
65 $useinterpretsis = 0; |
65 $useinterpretsis = 0; |
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 = 33; |
71 my $BuildromPatchVersion = 2; |
71 my $BuildromPatchVersion = 0; |
72 |
72 |
73 |
73 |
74 sub print_usage |
74 sub print_usage |
75 { |
75 { |
76 |
76 |
132 -compress=unpaged compress unpaged section in the ROM image only. |
132 -compress=unpaged compress unpaged section in the ROM image only. |
133 -ccomprmethod -- compression method: none|inflate|bytepair |
133 -ccomprmethod -- compression method: none|inflate|bytepair |
134 -geninc -- generate INC file |
134 -geninc -- generate INC file |
135 -gendep -- generate dependence graph for rom image |
135 -gendep -- generate dependence graph for rom image |
136 -nosymbols -- disable creation of symbol file |
136 -nosymbols -- disable creation of symbol file |
|
137 -bsymbols -- create symbol file in bsym format |
137 -noimage -- disable creation of ROM/ROFS/DataDrive Image |
138 -noimage -- disable creation of ROM/ROFS/DataDrive Image |
138 -j<digit> -- do the main job with <digit> threads |
139 -j<digit> -- do the main job with <digit> threads |
139 -cache -- allow the ROFSBUILD to reuse/generate cached executable files |
140 -cache -- allow the ROFSBUILD to reuse/generate cached executable files |
140 -nocache -- force the ROFSBUILD not to reuse/generate cached executable files |
141 -nocache -- force the ROFSBUILD not to reuse/generate cached executable files |
141 -cleancache -- permanently remove all cached executable files |
142 -cleancache -- permanently remove all cached executable files |
294 #Feature list XML file that acts as database containing all features details |
295 #Feature list XML file that acts as database containing all features details |
295 my $featureXml = undef; |
296 my $featureXml = undef; |
296 my $geninc = ""; |
297 my $geninc = ""; |
297 my $gendep = ""; |
298 my $gendep = ""; |
298 my $nosymbols = ""; |
299 my $nosymbols = ""; |
|
300 my $bsymbols = ""; |
299 my $noimage = ""; |
301 my $noimage = ""; |
300 my $customizedPlat = undef; |
302 my $customizedPlat = undef; |
301 my $opt_jobs= ""; |
303 my $opt_jobs= ""; |
302 |
304 |
303 #Summary of files(both executables and data files) currently includes |
305 #Summary of files(both executables and data files) currently includes |
1047 if ($arg =~ /^-nosymbols$/) |
1049 if ($arg =~ /^-nosymbols$/) |
1048 { |
1050 { |
1049 $nosymbols=1; |
1051 $nosymbols=1; |
1050 next; |
1052 next; |
1051 } |
1053 } |
|
1054 if ($arg =~ /^-bsymbols$/) |
|
1055 { |
|
1056 $bsymbols=1; |
|
1057 next; |
|
1058 } |
1052 if ($arg =~ /^-geninc$/) |
1059 if ($arg =~ /^-geninc$/) |
1053 { |
1060 { |
1054 $geninc=1; |
1061 $geninc=1; |
1055 next; |
1062 next; |
1056 } |
1063 } |
4561 print "* ".$1." ".$2.": ".$3; |
4568 print "* ".$1." ".$2.": ".$3; |
4562 } |
4569 } |
4563 if ($xip) |
4570 if ($xip) |
4564 { |
4571 { |
4565 is_existinpath("rombuild", romutl::DIE_NOT_FOUND); |
4572 is_existinpath("rombuild", romutl::DIE_NOT_FOUND); |
4566 $rombuild .= " -symbols" unless($nosymbols) ; |
4573 unless($nosymbols) |
|
4574 { |
|
4575 if($bsymbols) |
|
4576 { |
|
4577 $rombuild .= " -bsymbols"; |
|
4578 } |
|
4579 else |
|
4580 { |
|
4581 $rombuild .= " -symbols"; |
|
4582 } |
|
4583 } |
4567 run_rombuilder($rombuild.$compress, $obeyfile, $thisdir."ROMBUILD.LOG"); |
4584 run_rombuilder($rombuild.$compress, $obeyfile, $thisdir."ROMBUILD.LOG"); |
4568 } |
4585 } |
4569 elsif($opt_xiponly == 0) |
4586 elsif($opt_xiponly == 0) |
4570 { |
4587 { |
4571 # efficient_rom_paging.pm can move everything to core rom. |
4588 # efficient_rom_paging.pm can move everything to core rom. |
4587 if ($run_rofs_build) |
4604 if ($run_rofs_build) |
4588 { |
4605 { |
4589 is_existinpath("rofsbuild", romutl::DIE_NOT_FOUND); |
4606 is_existinpath("rofsbuild", romutl::DIE_NOT_FOUND); |
4590 if(!$nosymbols) |
4607 if(!$nosymbols) |
4591 { |
4608 { |
|
4609 if($bsymbols) |
|
4610 { |
|
4611 $rofsbuild .= " -bsymbols"; |
|
4612 } |
|
4613 else |
|
4614 { |
4592 $rofsbuild .= " -symbols"; |
4615 $rofsbuild .= " -symbols"; |
|
4616 } |
4593 } |
4617 } |
4594 run_rombuilder($rofsbuild.$compress, $obeyfile, $thisdir."ROFSBUILD.LOG"); |
4618 run_rombuilder($rofsbuild.$compress, $obeyfile, $thisdir."ROFSBUILD.LOG"); |
4595 } |
4619 } |
4596 } |
4620 } |
4597 unlink "rombuild.log"; |
4621 unlink "rombuild.log"; |