X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ReleaseNotes.txt;h=d3b5a719a9632443343acef3226dbb48b6de6e40;hp=d10f1efd0193c5dbe39afcb32d22a7e595c799c6;hb=58d8da3cf9641a8d37d652ecd7aa06cb07895a4e;hpb=0a75428c1bce476c621fa587effa753accfc1ba1 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index d10f1efd01..d3b5a719a9 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -193,7 +193,25 @@ gcc tool chain, you need the following tools on your host computer: bash, gcc, gmake, curl (or wget). Only the MdePkg and EdkModulePkg are currently supported by gcc builds. Other -builds, such as the EdkNt32Pkg, will not compile with gcc. +builds, such as the EdkNt32Pkg, will not compile with gcc. By default, the edk2 +will try to build the NT32.fpd, which is not supported by gcc. So, you need to +change the Tools/Conf/target.txt. + +The platform to be built is identified by the Tools/Conf/target.txt file: + +# +# PROPERTY Type Use Description +# ---------------- -------- -------- ----------------------------------------------------------- +# ACTIVE_PLATFORM Filename Recommended Specify the WORKSPACE relative Path and Filename +# of the platform FPD file that will be used for the build +# This line is required if and only if the current working +# directory does not contain one or more FPD files. + +ACTIVE_PLATFORM = + +You can leave it black, as above, or set it to any .fpd file in the workspace. +If you leave it blank, then you just cd to the dir that contains the .fpd that +you would like to build (MdePkg/ or EdkModulePkg/) and then type build. ---------------------------- A Word on compiling on Linux @@ -252,7 +270,7 @@ check out the entire EDK II source tree. In a command window, change to the top-level directory of the EDK II source. To test your tool chain setup and to build the supplied tools, execute: - c:\MyWork\edkii\> edksetup ForceBuild + c:\MyWork\edkii\> edksetup ForceRebuild (The edksetup script is referred to as the setup command throughout the rest of this document.) @@ -297,13 +315,20 @@ environment variable, TOOL_CHAIN to "gcc" before running the edksetup script. Example: export TOOL_CHAIN=gcc To test your tool chain setup and to build the supplied tools, execute: - c:\MyWork\edkii\> edksetup ForceBuild + c:\MyWork\edkii\> edksetup ForceRebuild On Linux systems, you must source the edksetup.sh file to load the correct settings into your shell. . edksetup.sh # Note the dot. +If you have recently updated your code from subversion, the tools will need to +be rebuilt if there were any code changes made to them. You can request that +the tools get rebuilt by typing: + + . edksetup.sh Rebuild # Unix-like systems + edksetup.bat Rebuild # Windows + The edksetup script is referred to as the setup command throughout the rest of this document. NOTE: You should run the setup command at the start of every session. @@ -312,7 +337,7 @@ rest of this document. Any changes to the tool source code or XML Schema documents require that you execute the following: - c:\MyWork\edkii\> edksetup ForceBuild + c:\MyWork\edkii\> edksetup ForceRebuild You must set the WORKSPACE environment variable, or run the edksetup script (without any arguments), any time you want to build.