13.2 Sample Launch Steps: NT32 platform

BRG functionality is switched on by -y or -Y option from build command. The following steps output the build report for NT32 platform:

  1. Check out edk2 packages from git@github.com:tianocore/edk2.git to c:\Users\YourLogin\Documents\edk2 directory1.
  2. Run cmd.exe, cd to your Documents directory and enter subst s:.
  3. Cd to s:\edk2
  4. Run edksetup.bat --nt32
  5. Run build.exe -a IA32 -p Nt32Pkg\Nt32Pkg.dsc -y ReportFile.txt

    • -y: This option specifies the output file name for build report.
    • -Y: This option specifies flags that control the type of build report. It must be from the set of PCD, LIBRARY, DEPEX, HASH, BUILD_FLAGS, FLASH, FIXED_ADDRESS and EXECUTION_ORDER. To specify more than one flag, repeat the option on the command line. Example of usage:

      On the command line, append the following arguments:

      -y report_filename.txt -Y PCD -Y FLASH -Y DEPEX

      The default set of flags (if -Y is not specified) is: PCD, LIBRARY, FLASH, DEPEX, HASH, BUILD_FLAGS and FIXED_ADDRESS.

1 On Microsoft Windows 7, you must be an administrator to create a directory in the root of the C: drive. It recommended that you checkout edk2 into your User directory, then use the subst command to map that directory to a virtual drive.