@REM
@REM Copyright (c) Microsoft Corporation.  All rights reserved.
@REM
@REM
@REM Use of this sample source code is subject to the terms of the Microsoft
@REM license agreement under which you licensed this sample source code. If
@REM you did not accept the terms of the license agreement, you are not
@REM authorized to use this sample source code. For the terms of the license,
@REM please see the license agreement between you and Microsoft or, if applicable,
@REM see the LICENSE.RTF on your install media or the root of your tools installation.
@REM THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
@REM
REM Platform specific sysgen settings

if /i not "%1"=="preproc" goto :Not_Preproc
    goto :EOF
:Not_Preproc

REM Pass1. Add new platform specific settings here.
if /i not "%1"=="pass1" goto :Not_Pass1

    REM MDPG Specific sysgen settings here
    if /i "%_TGTPROJ%" == "wpc" goto :Set_MDPG
    if /i "%_TGTPROJ%" == "smartfon" goto :Set_MDPG
    goto :Not_MDPG

:Set_MDPG

    REM OS Specific sysgen flags here
    set SYSGEN_ETHERNET=1
    set SYSGEN_USB=1
    set SYSGEN_SMARTCARD_PCMCIA=1

    set SYSGEN_MSFLASH_RAMFMD=1

    REM Pull in the null camera driver
        set SYSGEN_CAMERA_NULL=1

    REM Enable TFAT support
        set SYSGEN_TFAT=1

    REM Optional ATAPI support for CEPC
    if "%ENABLE_ATAPI%" == "" goto :Not_ATAPI
        set SYSGEN_ATADISK=
        set SYSGEN_ATAPI=1

:Not_ATAPI

:Not_MDPG
    goto :EOF

:Not_Pass1

if /i not "%1"=="pass2" goto :Not_Pass2
    goto :EOF
:Not_Pass2

if /i not "%1"=="report" goto :Not_Report
    goto :EOF
:Not_Report



