sysstatemgmt/systemstarter/test/sysmondemo/src/sysmondemo_rom.bat
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 @rem All rights reserved.
       
     4 @rem This component and the accompanying materials are made available
       
     5 @rem under the terms of "Eclipse Public License v1.0"
       
     6 @rem which accompanies this distribution, and is available
       
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 @rem
       
     9 @rem Initial Contributors:
       
    10 @rem Nokia Corporation - initial contribution.
       
    11 @rem
       
    12 @rem Contributors:
       
    13 @rem
       
    14 @rem Description:
       
    15 @rem
       
    16 
       
    17 setlocal
       
    18 
       
    19 set COMMAND_CHOICE=%1
       
    20 set RSC_LOCATION=\epoc32\data\Z\private\10205C44
       
    21 
       
    22 
       
    23 set TEST_RSC=%RSC_LOCATION%\sysmondemo_hardware.rsc
       
    24 set TEST1_RSC=%RSC_LOCATION%\sysmondemo109.RSC
       
    25 set TEST2_RSC=%RSC_LOCATION%\sysmondemo108_hardware.rsc
       
    26 
       
    27 set SM0_RSC=%RSC_LOCATION%\SSCForStartupMode0_target.RSC
       
    28 set SM109_RSC=%RSC_LOCATION%\SSCForStartupMode109_target.RSC
       
    29 set SM108_RSC=%RSC_LOCATION%\SSCForStartupMode108_target.RSC
       
    30 
       
    31 call copy %TEST_RSC% %SM0_RSC%
       
    32 call copy %TEST1_RSC% %SM109_RSC%
       
    33 call copy %TEST2_RSC% %SM108_RSC%
       
    34 
       
    35 call buildrom.cmd  -D_SERIAL_DOWNLOAD -D_DEBUG PlatSec   h4hrp techview.oby sysmondemo.iby -orombld.img
       
    36 
       
    37 call copy rombld.img sys$rom.img
       
    38 call del sys$rom.zip
       
    39 
       
    40 call zip sys$rom.zip sys$rom.img