Updated the ReleaseNotes.txt to include a PlatformName guideline and added the new edksetup.bat file which skips the tools build by default.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1000 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-07-14 06:46:15 +00:00
parent 44cf7a02c1
commit 70edbc34be
2 changed files with 94 additions and 25 deletions

View File

@ -318,12 +318,18 @@ or
about active platform policy, see the “EDK II Build and Packaging Architecture about active platform policy, see the “EDK II Build and Packaging Architecture
Specification.” Specification.”
To run the Nt32 emulation platform under Microsoft Windows, go to <full build path>\DEBUG\MSFT\IA32 and execute SecMain.exe To run the Nt32 emulation platform under Microsoft Windows, go to
<full build path>\DEBUG\MSFT\IA32 and execute SecMain.exe
To exit the Nt32 emulation platform, type “reset” at the EFI Shell> To exit the Nt32 emulation platform, type “reset” at the EFI Shell>
command prompt. Alternatively, from the graphical interface, select the Boot command prompt. Alternatively, from the graphical interface, select the Boot
Maintenance Manager's “Reset System” command. Maintenance Manager's “Reset System” command.
NOTE: When creating a new platform, the Platform Name should be restricted
to a single word, containing alphanumeric characters, with special characters,
underscore, dash and the period character also allowed. Space characters and
other special characters are not allowed.
----------------------- -----------------------
Notes on Symbolic Debug Notes on Symbolic Debug
----------------------- -----------------------

View File

@ -81,22 +81,66 @@ echo Resetting the PATH variable to include the Framework_Tools_Path for this WO
:path_ok :path_ok
if "%1"=="skip" goto skipbuild @if "%1"=="-h" goto Usage
@if "%1"=="-help" goto Usage
@if "%1"=="--help" goto Usage
@if "%1"=="/h" goto Usage
@if "%1"=="/?" goto Usage
@if "%1"=="/help" goto Usage
echo. @IF NOT EXIST "Tools\Jars\Common.jar" goto NormalBuild
echo WORKSPACE: %WORKSPACE% @IF NOT EXIST "Tools\Jars\GenBuild.jar" goto NormalBuild
echo JAVA_HOME: %JAVA_HOME% @IF NOT EXIST "Tools\Jars\SurfaceArea.jar" goto NormalBuild
echo ANT_HOME: %ANT_HOME% @IF NOT EXIST "Tools\Jars\cpptasks.jar" goto NormalBuild
echo XMLBEANS_HOME: %XMLBEANS_HOME% @IF NOT EXIST "Tools\Jars\frameworktasks.jar" goto NormalBuild
echo CYGWIN_HOME: %CYGWIN_HOME% @IF NOT EXIST "Tools\bin\FrameworkWizard.jar" goto NormalBuild
echo PATH: %PATH% @IF NOT EXIST "Tools\bin\CompressDll.dll" goto NormalBuild
echo. @IF NOT EXIST "Tools\bin\CompressDll.lib" goto NormalBuild
@IF NOT EXIST "Tools\bin\CreateMtFile.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\EfiCompress.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\EfiRom.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\FlashMap.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\FwImage.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenAcpiTable.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenCRC32Section.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenCapsuleHdr.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenDepex.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenFfsFile.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenFvImage.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenFvImage_IA32.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenFvImage_IPF.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenSection.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GenTEImage.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\GuidChk.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\MakeDeps.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\ModifyInf.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\PeiRebase_Ia32.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\PeiRebase_Ipf.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\PeiRebase_X64.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\SecApResetVectorFixup.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\SecFixup.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\SetStamp.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\SplitFile.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\StrGather.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\Strip.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\VfrCompile.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\ZeroDebugData.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\antlr.exe" goto NormalBuild
@IF NOT EXIST "Tools\bin\dlg.exe" goto NormalBuild
@if "%1"=="Rebuild" goto NormalBuild
@if "%1"=="ForceRebuild" goto ForceBuild
goto skipbuild
:ForceBuild
call ant -f %WORKSPACE%\Tools\build.xml cleanall
:NormalBuild
@REM @REM
@REM Start to build the Framework Tools @REM Start to build the Framework Tools
@REM @REM
echo. echo.
echo Building the Framework Tools echo Building the Framework Tools
echo. echo.
@ -106,22 +150,25 @@ echo.
@REM Java Programs can use it. @REM Java Programs can use it.
@REM It needs the XMLBEANS libraries in order to compile. @REM It needs the XMLBEANS libraries in order to compile.
@REM @REM
set CLASSPATH=.;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\lib\xbean.jar if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto been_here
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar;%XMLBEANS_HOME%\lib\xmlpublic.jar set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar;%XMLBEANS_HOME%\lib\resolver.jar set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xmlpublic.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\resolver.jar
@if "%1" neq "ForceRebuild" goto NormalBuild :been_here
call ant -f %WORKSPACE%\Tools\build.xml cleanall
:NormalBuild
call ant -f %WORKSPACE%\Tools\build.xml SurfaceArea call ant -f %WORKSPACE%\Tools\build.xml SurfaceArea
@REM @REM
@REM Now we can make the other Java Programs @REM Now we can make the other Java Programs
@REM All of the remaining Java Programs require the SurfaceArea library to compile @REM All of the remaining Java Programs require the SurfaceArea library to compile
@REM @REM
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\%Tools\Jars\SurfaceArea.jar if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto been_here2
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\SurfaceArea.jar
:been_here2
call ant -f %WORKSPACE%\Tools\build.xml JavaCode call ant -f %WORKSPACE%\Tools\build.xml JavaCode
@ -129,11 +176,13 @@ call ant -f %WORKSPACE%\Tools\build.xml JavaCode
@REM We have all of the Java Programs and add-in classes created, so we can start @REM We have all of the Java Programs and add-in classes created, so we can start
@REM using the cpp-tasks to create our tools @REM using the cpp-tasks to create our tools
@REM @REM
if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto been_here3
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar
:been_here3
call ant -f %WORKSPACE%\Tools\build.xml C_Code call ant -f %WORKSPACE%\Tools\build.xml C_Code
@ -184,14 +233,28 @@ echo XMLBEANS_HOME: %XMLBEANS_HOME%
echo CYGWIN_HOME: %CYGWIN_HOME% echo CYGWIN_HOME: %CYGWIN_HOME%
echo PATH: %PATH% echo PATH: %PATH%
echo. echo.
set CLASSPATH=%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\lib\xbean.jar if "%FRAMEWORK_TOOLS_PATH%"=="%WORKSPACE_TOOLS_PATH%" goto been_here4
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar;%XMLBEANS_HOME%\lib\xmlpublic.jar set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar;%XMLBEANS_HOME%\lib\resolver.jar set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xmlpublic.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar
set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\resolver.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\SurfaceArea.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\SurfaceArea.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar;%WORKSPACE%\Tools\Jars\GenBuild.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\Common.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar;%WORKSPACE%\Tools\Jars\frameworktasks.jar set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\GenBuild.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\cpptasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Jars\frameworktasks.jar
set CLASSPATH=%CLASSPATH%;%WORKSPACE%\Tools\Bin\FrameworkWizard.jar
:been_here4
goto end goto end
:Usage
echo.
echo Usage: %0 [Rebuild] [ForceRebuild]
echo.
:end :end
@echo on @echo on