3.8 Build Files

UEFI system firmware by nature is often constructed with a large number of modules and components. EDK II modules are typically written to be generic and reusable. As such, much of the build file content is the same for all platforms. The platform architecture provides further structure and consistency by defining dedicated build files that are exposed to all consumers of the platform package. The modular separation of the build files is based on the UEFI PI Architecture phases, the platform architecture stages, and optional features. The board package is ultimately able to leverage as much of this content as applicable for a given system. The build is coordinated by the board package which should include standard build files from the minimum platform package or other dependent packages such as a silicon package.

Name Consumer Standalone Buildable FV Produced Comments
MinPlatformPkg
\Include\CoreCommonLib.dsc
Board No None Stage I-V common libraries
MinPlatformPkg
\Include\CorePeiInclude.dsc
Board No None Combination of Stage I-V
that will be processed by compilation building
MinPlatformPkg
\Include\CorePeiLib.dsc
Board No None Combination of Stage I-V
that will be processed by compilation building
BoardPkg
\BoardName\BoardPkg.dsc
Build Yes None Primary build file.
Name Consumer Standalone Buildable FV Produced Comments
MinPlatformPkg
\Include\CorePreMemoryInclude.fdf
Board No None Combination of Stage I-II
that will be processed by compilation building
BoardPkg
\BoardName\BoardPkg.fdf
Build Yes Yes Combination of Stage I-V
that will be processed by compilation building
Table 13 Stage I Build Files