set __SGP_PLATFORM_DIR=%1 (platform)
set __SGP_MAKEFILE_TARGET=%2 (C:\WINCE420\platform\CEPC)
(%3 = postproc or preproc)
echo Sysgening platform %__SGP_PLATFORM_DIR%
REM Run the platform cesysgen makefile if it exists.
if not exist %__SGP_PLATFORM_DIR%\cesysgen\makefile goto done_platform_cesysgen_makefile
REM Set up the project cesysgen environment variables.
call %_PROJECTROOT%\oak\misc\cesysgen.bat (C:\WINCE420\PUBLIC\Canoe\WINCE420\CEPC\oak\misc\cesysgen.bat, created by PB?)
REM Switch over to the correct drive and directory.
%_PLATFORMDRIVE%
cd %__SGP_PLATFORM_DIR%\cesysgen
nmake %__SGP_MAKEFILE_TARGET% >> %_WINCEROOT%\build.log 2>&1
:done_platform_cesysgen_makefile
:done
set __SGP_PLATFORM_DIR=
set __SGP_MAKEFILE_TARGET=
|