D.3 Build Targets and options

In order to provide flexibility, the build command supports stopping the build process after specific actions have taken place. These targets will ensure that all previously required actions have been completed. New for this release is the implementation of targets that permit processing files for only one given step, such that previous steps are NOT processed. Table 22 provides the descriptions of targets supported by the build, as well as the GenFds tools.


Note: The flag, --skip-autogen, is required to prevent the build tool from re-creating the auto generated C and Makefiles.


Table 22 Build Targets and Command-line Options
Target Description
genc Generates the C code files (AutoGen.c, AutogGen.h and ModuleName.depex) then stops
genmake Generates the C code files (AutoGen.c, AutoGen.h and ModuleName.depex) then the Makefiles, then stops
libraries Generates the C code files, the Makefiles, then generates the object files for libraries
modules Generates the C code files, the Makefiles, generates the object files for libraries, generates the object files for the modules, then links them, then calls GenFw for each of the intermediate final objects to create .efi files
fds Generates the C code files, the Makefiles, generates the object files for libraries, generates the object files for the modules, links them, calls GenFw for each of the intermediate final objects to create .efi files, generates SECTION files, generates FFS files, generates FV files and finally generates FD files