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:
- Check out edk2 packages from https://svn.code.sf.net/p/edk2/code/trunk/edk2
to
c:\Users\YourLogin\Documents\edk2
directory1. - Run cmd.exe, cd to your Documents directory and enter
subst s:
. - Cd to
s:\edk2
- Run edksetup.bat --nt32
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.