12.07.2015 Views

EDK II Module Writer's Guide - Intel

EDK II Module Writer's Guide - Intel

EDK II Module Writer's Guide - Intel

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.7.5 Build module imageAfter the above setting, the <strong>EDK</strong> <strong>II</strong> build command can be called to build the moduleto the binary image. It has many build configurations to support the differing buildrequirements. The usual used build options are introduced in the following.3.7.5.1 Example Build optionBuild –p Package.dsc –m <strong>Module</strong>.inf –a ARCH –b TARGET –t TOOLTAG3.7.5.2 Build Package (-p option)All modules in the [Components] section of the specified package DSC will be built ifbuild module option is not added. If specified more than once on the command line,the final selection is used.3.7.5.2.1 Example Build –p option# Build all modules in PackageOne DSCBuild –p PackageOne\PackageOne.dsc# Build all modules in PackageTwo DSCBuild –p PackageOne\PackageOne.dsc –p PackageTwo\PackageTwo.dsc3.7.5.3 Build <strong>Module</strong> (-m option)When a single specified module is built, it must be in the [Components] section of thespecified DSC. If this option is not added, all modules in the DSC will be built. Ifspecified more than once on the command line, the final selection is used.3.7.5.3.1 Example Build –m option# Build single module One in PacakgeOne DSCBuild –p PackageOne\PackageOne.dsc –m PackageOne\One\One.inf# Build single module Two in PackageOne DSCBuild –p PackageOne\PackageOne.dsc –m PackageOne\One\One.inf –mPackageOne\Two\Two.inf3.7.5.4 Build ARCH (-a option)The supported ARCH option is IA32, X64, IPF and EBC. New arch types may be addedin the future. The module in the above setting will be built to the specified ARCH. Ifspecified more than once on the command line, each ARCH is built sequentially.Example Build –a option41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!