git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1209
6f19259b-4bc3-4df7-8a09-
765794883524
In a command window, change to the top-level directory of the EDK II source.\r
\r
To test your tool chain setup and to build the supplied tools, execute:\r
In a command window, change to the top-level directory of the EDK II source.\r
\r
To test your tool chain setup and to build the supplied tools, execute:\r
- c:\MyWork\edkii\> edksetup ForceRebuild\r
+ c:\MyWork\edk2\> edksetup ForceRebuild\r
\r
(The edksetup script is referred to as the setup command throughout the \r
rest of this document.)\r
\r
(The edksetup script is referred to as the setup command throughout the \r
rest of this document.)\r
\r
Set the WORKSPACE environment variable, e.g.:\r
\r
\r
Set the WORKSPACE environment variable, e.g.:\r
\r
- c:\> set WORKSPACE=C:\MyWork\edkii\r
+ c:\> set WORKSPACE=C:\MyWork\edk2\r
\r
You may need to edit the text files Tools/Conf/target.txt and\r
Tools/Conf/tools_def.txt (created by edksetup) using your favorite \r
\r
You may need to edit the text files Tools/Conf/target.txt and\r
Tools/Conf/tools_def.txt (created by edksetup) using your favorite \r
install may require this manual process.\r
\r
Once this is completed, you are ready to test the build, by executing:\r
install may require this manual process.\r
\r
Once this is completed, you are ready to test the build, by executing:\r
- c:\MyWork\edkii\> build\r
+ c:\MyWork\edk2\> build\r
\r
This command builds the active platform specified in text file target.txt. If \r
the active platform is not specified target.txt, you must execute the build \r
\r
This command builds the active platform specified in text file target.txt. If \r
the active platform is not specified target.txt, you must execute the build \r
edksetup script. Example: export TOOL_CHAIN=gcc\r
\r
To test your tool chain setup and to build the supplied tools, execute:\r
edksetup script. Example: export TOOL_CHAIN=gcc\r
\r
To test your tool chain setup and to build the supplied tools, execute:\r
- c:\MyWork\edkii\> edksetup ForceRebuild\r
+ c:\MyWork\edk2\> edksetup ForceRebuild\r
\r
On Linux systems, you must source the edksetup.sh file to load the correct\r
settings into your shell.\r
\r
On Linux systems, you must source the edksetup.sh file to load the correct\r
settings into your shell.\r
\r
Any changes to the tool source code or XML Schema documents require that\r
you execute the following:\r
\r
Any changes to the tool source code or XML Schema documents require that\r
you execute the following:\r
- c:\MyWork\edkii\> edksetup ForceRebuild\r
+ c:\MyWork\edk2\> edksetup ForceRebuild\r
\r
You must set the WORKSPACE environment variable, or run the edksetup\r
script (without any arguments), any time you want to build.\r
\r
Set the WORKSPACE environment variable, e.g.:\r
\r
\r
You must set the WORKSPACE environment variable, or run the edksetup\r
script (without any arguments), any time you want to build.\r
\r
Set the WORKSPACE environment variable, e.g.:\r
\r
- c:\> set WORKSPACE=C:\MyWork\edkii\r
+ c:\> set WORKSPACE=C:\MyWork\edk2\r
\r
You may need to edit the text files Tools/Conf/target.txt and\r
Tools/Conf/tools_def.txt (created by edksetup) using your favorite \r
\r
You may need to edit the text files Tools/Conf/target.txt and\r
Tools/Conf/tools_def.txt (created by edksetup) using your favorite \r
tool installation may require this manual process.\r
\r
Once this is completed, you are ready to test the build, by executing:\r
tool installation may require this manual process.\r
\r
Once this is completed, you are ready to test the build, by executing:\r
- c:\MyWork\edkii\> build\r
+ c:\MyWork\edk2\> build\r
\r
This command builds the active platform specified in text file target.txt. If \r
the active platform is not specified, go to the sub-directory that contains FPD \r
\r
This command builds the active platform specified in text file target.txt. If \r
the active platform is not specified, go to the sub-directory that contains FPD \r
c:\<directory>\> build\r
or\r
cd to the platform (FPD file) that you want to build and execute this command:\r
c:\<directory>\> build\r
or\r
cd to the platform (FPD file) that you want to build and execute this command:\r
- c:\MyWork\edkii\EdkNt32Pkg\> build\r
+ c:\MyWork\edk2\EdkNt32Pkg\> build\r
\r
Note that the active platform specified in target.txt overrides the platform \r
specified by any FPD file in the current directory. For more information \r
\r
Note that the active platform specified in target.txt overrides the platform \r
specified by any FPD file in the current directory. For more information \r
After running the setup command, you can build individual modules.\r
In the command window, cd to the module that you want to build, and\r
execute the build command:\r
After running the setup command, you can build individual modules.\r
In the command window, cd to the module that you want to build, and\r
execute the build command:\r
- c:\MyWork\edkii\MdePkg\Library\BaseLib\> build\r
+ c:\MyWork\edk2\MdePkg\Library\BaseLib\> build\r
\r
You must set the active platform in target.txt for individual module builds. \r
\r
\r
You must set the active platform in target.txt for individual module builds. \r
\r
goto skipbuild\r
\r
:ForceBuild\r
goto skipbuild\r
\r
:ForceBuild\r
-call ant -f %WORKSPACE%\Tools\build.xml cleanall\r
+call ant -noclasspath -f %WORKSPACE%\Tools\build.xml cleanall\r