1 @echo off |
|
2 rem |
|
3 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 rem All rights reserved. |
|
5 rem This component and the accompanying materials are made available |
|
6 rem under the terms of "Eclipse Public License v1.0" |
|
7 rem which accompanies this distribution, and is available |
|
8 rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 rem |
|
10 rem Initial Contributors: |
|
11 rem Nokia Corporation - initial contribution. |
|
12 rem |
|
13 rem Contributors: |
|
14 rem |
|
15 rem Description: |
|
16 rem |
|
17 @echo on |
|
18 |
|
19 @echo off |
|
20 setlocal |
|
21 echo ===------------------------------------------------- |
|
22 echo === Stage=1 |
|
23 echo ===------------------------------------------------- |
|
24 perl -le "$time=localtime; print '=== Stage=1 started ', $time" |
|
25 perl -le "$time=localtime; print '=== Stage=1 S60_build.cmd started', $time" |
|
26 |
|
27 echo Build S60 |
|
28 echo usage: S60_build.cmd |
|
29 echo example: S60_build.cmd |
|
30 |
|
31 if not defined LOGS_PATH ( |
|
32 call set LOGS_PATH=\logs\ |
|
33 ) |
|
34 |
|
35 if not defined ZIPS_PATH ( |
|
36 call set ZIPS_PATH=\zips\ |
|
37 ) |
|
38 |
|
39 if not exist %LOGS_PATH% ( |
|
40 md %LOGS_PATH% |
|
41 ) |
|
42 if not exist %ZIPS_PATH% ( |
|
43 md %ZIPS_PATH% |
|
44 ) |
|
45 |
|
46 |
|
47 perl -le "$time=localtime; print '=== Stage=1 S60_build.cmd started', $time" |
|
48 call vcvars32 |
|
49 call set copycmd=/y |
|
50 |
|
51 |
|
52 perl -le "$time=localtime; print '=== Stage=1 touch to s60 started ', $time" |
|
53 call toucher.exe \sf |
|
54 call toucher.exe \ext |
|
55 |
|
56 perl -le "$time=localtime; print '=== Stage=1 attrib -r started', $time" |
|
57 call attrib -r /s \epoc32\* |
|
58 call attrib -r /s \ext\* |
|
59 call attrib -r /s \sf\* |
|
60 |
|
61 |
|
62 cd\ |
|
63 perl -le "$time=localtime; print '=== Stage=1 Build started', $time" |
|
64 echo Building ... |
|
65 call \epoc32\tools\s60tools\build_tbs.cmd S60Build \epoc32\tools\s60tools\ |
|
66 echo Build end |
|
67 |
|
68 perl -le "$time=localtime; print '=== Stage=1 bldmelast started', $time" |
|
69 call \epoc32\tools\s60tools\build_tbs.cmd bldmelast \epoc32\tools\s60tools\ |
|
70 |
|
71 call cmd /c "cd \config\s60_52_config && cmaker config_post_task ACTION=export BUILD=oem S60=52" |
|
72 perl -le "$time=localtime; print '=== Stage=1 zip western delta binaries', $time" |
|
73 call perl \epoc32\tools\s60tools\parse_what_log.pl -i %LOGS_PATH%bldmelast_bld.log -filter \epoc32 -zip %ZIPS_PATH%delta_western_package -ex productvariant.hrh |
|
74 |
|
75 perl -le "$time=localtime; print '=== Stage=1 scanlog_html started', $time" |
|
76 call perl \epoc32\tools\htmlscanlog.pl -l %LOGS_PATH%s60Build_bld.log -l %LOGS_PATH%bldmelast_bld.log -o %LOGS_PATH%scanlog_s60Build_full.html -v |
|
77 |
|
78 perl -le "$time=localtime; print '=== Stage=1 finished ', $time" |
|
79 |
|
80 endlocal |
|