diff -r 3dcdf644f5be -r 861b800d9c63 PDK_Raptor/config.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDK_Raptor/config.xml Thu Nov 05 10:56:36 2009 +0000 @@ -0,0 +1,287 @@ + + + + <h3>Description</h3> +<li>This project will rebuild the Symbian^2 and Symbian^3 Platform from source using a Bill Of Materials that can be downloaded from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a> +<li>It encapsulates the steps as defined in the <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor"/>manual build process </a>for Raptor and is a simple way to start building using SBSv2. + +<h3>Prerequisites</h3> +<li>Installation of mandatory <a href="http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor#Installing_Build_Tools"/>build tools</a> +<li>Download of required (and recommended) <a href=" +http://developer.symbian.org/wiki/index.php/How_to_perform_a_platform_build_of_PDK_3.0.b_using_Raptor#Getting_the_Baseline"/>zips </a> from the <a href="http://developer.symbian.org/main/tools_and_kits/">kits page.</a> + + false + + + + + BUILD_DRIVE + Physical Build Drive + C: + + + SUBST_DRIVE + Subst'd EPOC drive + M: + + + RELEASE_ZIP_LOCATION + Location of <a href="http://developer.symbian.org/main/tools_and_kits/">release zipfiles</a> e.g. +<li>build_BOM.zip +<li>tools_epoc.zip + + + + + + REBUILD_TOOLS + Tick this box if you want to rebuild "tools" as well (needs VC++ 6.0) + false + + + SPLIT_BUILD + Untick this box if the build is not GT/S60 split (only PDK2.0.e is not split at the moment) + true + + + SRC_LOCATION + How to get src for building the Platform. +<li>BOM - download source direct from <a href="https://developer.symbian.org/oss">web</a> using downloaded Bill Of Materials +<li>ZIPFILES - unpack source zips such as src_oss_os.zip from specified location on disk + + + BOM + ZIPFILES + + + + + LEGACY_BLDMEFIRST + Must be ticked for every baseline prior to PDK 2.0.e + false + + + HG_USERNAME + Enter your symbian developer web username <i>(required for download of packages from BOM, not needed when using source zip packages)</i> + + + + HG_PASSWORD + Enter your Mercurial symbian developer web password <i>(required for download of packages from BOM, not needed when using source zip packages)</i> + + + + PLATFORM + + + + symbian3 + symbian2 + + + + + TARGET + What target to build. Building armv5 targets requires RVCT arm compiler installed. + + + -c winscw_udeb + -c winscw + -c armv5_urel + -c armv5 -c winscw + + + + + + + + true + false + false + + true + + + %BUILD_DRIVE% +cd\ +mkdir build_%JOB_NAME%.%BUILD_NUMBER%\tmp +cd build_%JOB_NAME%.%BUILD_NUMBER% +subst /d %SUBST_DRIVE% +subst %SUBST_DRIVE% . +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd %SUBST_DRIVE%\tmp +hg clone http://developer.symbian.org/oss/MCL/utilities + + + %SUBST_DRIVE% +cd \ +copy %RELEASE_ZIP_LOCATION%\build_BOM.zip %SUBST_DRIVE%\tmp +copy %RELEASE_ZIP_LOCATION%\*_rndonly*.zip %SUBST_DRIVE%\tmp +copy %RELEASE_ZIP_LOCATION%\bin_redist*.zip %SUBST_DRIVE%\tmp +copy %RELEASE_ZIP_LOCATION%\binaries_epoc_additional.zip %SUBST_DRIVE%\tmp +copy %RELEASE_ZIP_LOCATION%\binaries_bldmefirst.zip %SUBST_DRIVE%\tmp +%SUBST_DRIVE%\tmp +IF %SRC_LOCATION% == BOM goto TOOLSZIP +copy %RELEASE_ZIP_LOCATION%\src_*.zip %SUBST_DRIVE%\tmp +:TOOLSZIP +IF %REBUILD_TOOLS% == true exit 0 +copy %RELEASE_ZIP_LOCATION%\binaries_epoc32_stlport.zip %SUBST_DRIVE%\tmp +copy %RELEASE_ZIP_LOCATION%\tools_*.zip %SUBST_DRIVE%\tmp +exit 0 + + + %SUBST_DRIVE% +cd %SUBST_DRIVE%\tmp +7z x *.zip -o.. -y +cd.. +7z x *.zip -y +del *.zip +exit 0 + + + IF NOT %SRC_LOCATION% == BOM exit +%SUBST_DRIVE% +cd \ +@ECHO OFF +IF NOT "%HG_USERNAME%" == "" GOTO USERNAME_OK +echo "You must enter a UserName and Password when using the BOM option" +exit 1 +:USERNAME_OK +IF NOT "%HG_PASSWORD%" == "" GOTO HG_OK +echo "You must enter a UserName and Password when using the BOM option" +exit 1 +:HG_OK +\tmp\utilities\clone_packages\clone_all_packages.pl -packagelist \build_info\logs\BOM\build-info.xml -username %HG_USERNAME% -password %HG_PASSWORD% -retries=7 + + + IF %LEGACY_BLDMEFIRST% == true exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd \ +mkdir %SUBST_DRIVE%\epoc32\include\variant\ +mkdir %SUBST_DRIVE%\epoc32\tools\variant\ +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +IF NOT %PLATFORM% == symbian2 copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\inc\Symbian_OS_%VARIANT%.hrh %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS.hrh +copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\*.hrh %SUBST_DRIVE%\epoc32\include\variant\ +copy %SUBST_DRIVE%\sf\os\deviceplatformrelease\symbianosbld\cedarutils\Symbian_OS_v%VARIANT%.cfg %SUBST_DRIVE%\epoc32\tools\variant\variant.cfg +cd %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\inc\ +copy variant.cfg +,, +exit 0 + + + IF %LEGACY_BLDMEFIRST% == true exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\western\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\deviceplatformrelease\sf_config\config\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\platform_path_definitions_api\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\devicesrv_pub\common_platform_security_definitions_api\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\os\devicesrv\commonservices\commonengine\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\mw\web\web_plat\browser_platform_api\group\bld.inf %TARGET% +cmd /c sbs EXPORT --ignore-os-detection --export-only -b %SUBST_DRIVE%\sf\tools\homescreentools\dtdinstaller\group\bld.inf %TARGET% + + + IF %LEGACY_BLDMEFIRST% == true exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +xcopy /s %SUBST_DRIVE%\sf\tools\makefile_templates\*.* %SUBST_DRIVE%\epoc32\tools\makefile_templates\s60\ +exit 0 + + + if %REBUILD_TOOLS% == true exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools_rel.whatlog -c tools2_rel.whatlog %TARGET% -i EXPORT -k -f exports.log + + + if %REBUILD_TOOLS% == false exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools2_rel.whatlog.v%VARIANT% -i -j 32 -t 5 -k -f tools2_gt.log + + + if %REBUILD_TOOLS% == false exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml -c tools_rel.whatlog.v%VARIANT% -i -j 32 -t 5 -k -f tools_gt.log + + + cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_GT_%VARIANT%.xml %TARGET% -i -j 32 -t 5 -k -f build.log + + + IF %SPLIT_BUILD% == false exit +IF %REBUILD_TOOLS% == true exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set S60VARIANT=5_1 +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +IF %PLATFORM% == symbian3 set S60VARIANT=5_2 +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml -c tools_rel.whatlog -c tools2_rel.whatlog %TARGET% -i EXPORT -k -f exports.log + + + IF %SPLIT_BUILD% == false exit +IF %REBUILD_TOOLS% == false exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set S60VARIANT=5_1 +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +IF %PLATFORM% == symbian3 set S60VARIANT=5_2 +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml -c tools2_rel.whatlog.v%VARIANT% -i -j 32 -t 5 -k -f tools2_gt.log + + + IF %SPLIT_BUILD% == false exit +IF %REBUILD_TOOLS% == false exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set S60VARIANT=5_1 +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +IF %PLATFORM% == symbian3 set S60VARIANT=5_2 +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml -c tools_rel.whatlog.v%VARIANT% -i -j 32 -t 5 -k -f tools_gt.log + + + IF %SPLIT_BUILD% == false exit +cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +set S60VARIANT=5_1 +set VARIANT=tb91sf +IF %PLATFORM% == symbian3 set VARIANT=tb92sf +IF %PLATFORM% == symbian3 set S60VARIANT=5_2 +cmd /c sbs -s %SUBST_DRIVE%\build_info\logs\BOM\canonical_system_definition_S60_%S60VARIANT%_sf.xml %TARGET% -i -j 32 -t 5 -k -f build.log + + + cd %SUBST_DRIVE% +%SUBST_DRIVE% +cd\ +%HELIUM_HOME%\..\ConfigurationTool/cli_build.cmd -master_conf s60 -impl /epoc32/rom/config/confml_data/s60 -confml /epoc32/rom/config/confml_data/s60 -ignore_errors + + + + + C:\ + \ No newline at end of file