9 Build or $(MAKE) Stage

This chapter describes the processing of the source files into EFI files.

The make stage starts out by building required libraries, followed by EDK II modules. The outputs of this stage are linked PE32+/COFF images that have been processed to replace the standard header with an appropriate EFI header.

How a file will be processed is defined in the file specified by the BUILD_RULE_CONF statement in target.txt or the default file $(WORKSPACE)/Conf/build_rule.txt. The build system will use the sections in this file to convert to actions and targets in the Makefile. In the previous stage, Pre-Build AutoGen Stage, those rules were used to generate Makefiles.